11594 ldterm: cast between incompatible function types
Review Request #2247 — Created Aug. 21, 2019 and submitted — Latest diff uploaded
Information | |
---|---|
tsoome | |
illumos-gate | |
11594 | |
269ff51... | |
Reviewers | |
general | |
../../common/io/ldterm.c:577: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 (*)())ldtermrput, ^ ../../common/io/ldterm.c:578:2: error: cast between incompatible function types from 'void (*)(queue_t *)' {aka 'void (*)(struct queue *)'} to 'int (*)()' [-Werror=cast-function-type] (int (*)())ldtermrsrv, ^ ../../common/io/ldterm.c:597: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 (*)())ldtermwput, ^ ../../common/io/ldterm.c:598:2: error: cast between incompatible function types from 'void (*)(queue_t *)' {aka 'void (*)(struct queue *)'} to 'int (*)()' [-Werror=cast-function-type] (int (*)())ldtermwsrv, ^ cc1: all warnings being treated as errors