11726 ttcompat: cast between incompatible function types

Review Request #2330 - Created Sept. 20, 2019 and submitted

Information
Toomas Soome
illumos-gate
11726
1d8d9b9...
Reviewers
general
../../common/io/ttcompat.c:127: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 (*)())ttcompatrput,
  ^
../../common/io/ttcompat.c:145: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 (*)())ttcompatwput,
  ^
cc1: all warnings being treated as errors

  
Andrew Stormont
Andy Fiddaman
Toomas Soome
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...