10191 strsubs: cast between incompatible function types
Review Request #1351 — Created Jan. 9, 2019 and submitted
Information | |
---|---|
tsoome | |
illumos-gate | |
10191 | |
be7aae5... | |
Reviewers | |
general | |
../../common/os/strsubr.c:378: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 (*)())putnext, ^ ../../common/os/strsubr.c:388: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 (*)()) pass_wput, ^ cc1: all warnings being treated as errors