11725 tirdwr: cast between incompatible function types

Review Request #2329 — Created Sept. 20, 2019 and submitted

tsoome
illumos-gate
11725
c42ac7f...
general
../../common/io/tirdwr.c:92: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 (*)())tirdwrrput,
  ^
../../common/io/tirdwr.c:102: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 (*)())tirdwrwput,
  ^
cc1: all warnings being treated as errors


andy_js
  1. Ship It!
  2. 
      
citrus
  1. Ship It!
  2. 
      
tsoome
tsoome
Review request changed

Status: Closed (submitted)

Loading...