10485 ipsecesp: cast between incompatible function types

Review Request #1538 — Created March 2, 2019 and submitted

tsoome
illumos-gate
10485
512baca...
general
../../common/inet/ip/ipsecesp.c:135: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]
  (pfi_t)putnext, NULL, ipsecesp_open, ipsecesp_close, NULL, &info,
  ^
../../common/inet/ip/ipsecesp.c:140: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]
  (pfi_t)ipsecesp_wput, NULL, ipsecesp_open, ipsecesp_close, NULL, &info,
  ^
cc1: all warnings being treated as errors


  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
domag02
  1. 
      
  2. usr/src/uts/common/inet/ip/ipsecesp.c (Diff revision 1)
     
     
    Space followed by tab.
  3. 
      
tsoome
seeemef@mac.com
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...