10422 conskbd: cast between incompatible function types
Review Request #1491 — Created Feb. 19, 2019 and submitted
Information | |
---|---|
tsoome | |
illumos-gate | |
10422 | |
3d54bbf... | |
Reviewers | |
general | |
../../common/io/conskbd.c:130:2: error: cast between incompatible function types from 'void (*)(queue_t *)' {aka 'void (*)(struct queue *)'} to 'int (*)()' [-Werror=cast-function-type] (int (*)())conskbduwsrv, /* qi_srvp */ ^ ../../common/io/conskbd.c:140: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 (*)())conskbdlrput, /* qi_putp */ ^ ../../common/io/conskbd.c:152:2: error: cast between incompatible function types from 'void (*)(queue_t *)' {aka 'void (*)(struct queue *)'} to 'int (*)()' [-Werror=cast-function-type] (int (*)())conskbdlwserv, /* qi_srvp */ ^ cc1: all warnings being treated as errors