11599 ptem: cast between incompatible function types
Review Request #2252 — Created Aug. 21, 2019 and submitted — Latest diff uploaded
Information | |
---|---|
tsoome | |
illumos-gate | |
11599 | |
317454d... | |
Reviewers | |
general | |
../../common/io/ptem.c:114: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 (*)()) ptemrput, ^ ../../common/io/ptem.c:124: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 (*)()) ptemwput, ^ ../../common/io/ptem.c:125:2: error: cast between incompatible function types from 'void (*)(queue_t *)' {aka 'void (*)(struct queue *)'} to 'int (*)()' [-Werror=cast-function-type] (int (*)()) ptemwsrv, ^ cc1: all warnings being treated as errors