../../common/io/pts.c:149:2: error: cast between incompatible function types from 'void (*)(queue_t *)' {aka 'void (*)(struct queue *)'} to 'int (*)()' [-Werror=cast-function-type]
(int (*)()) ptsrsrv,
^
../../common/io/pts.c:158:2: error: cast between incompatible function types from 'void (*)(queue_t *, mblk_t *)' {aka 'void (*)(struct queue *, struct msgb *)'} to 'int (*)()' [-Werror=cast-function-type]
(int (*)()) ptswput,
^
../../common/io/pts.c:159:2: error: cast between incompatible function types from 'void (*)(queue_t *)' {aka 'void (*)(struct queue *)'} to 'int (*)()' [-Werror=cast-function-type]
(int (*)()) ptswsrv,
^
../../common/io/pts.c: In function 'ptswput':
../../common/io/pts.c:622:3: error: this statement may fall through [-Werror=implicit-fallthrough=]
switch (iocp->ioc_cmd) {
^~~~~~
../../common/io/pts.c:643:2: note: here
default:
^~~~~~~
cc1: all warnings being treated as errors