Question on struct and int within

看板FB_hackers作者時間12年前 (2014/03/13 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
Okay, I decided to rebuild the kernel with vimage and mrouting. New error is: /usr/src/sys/netinet/udp_usrreq.c:1701:18: error: too few arguments to function call, expected 2, have 1 udp_discardcb(up); ~~~~~~~~~~~~~ ^ /usr/src/sys/netinet/udp_usrreq.c:274:1: note: 'udp_discardcb' declared here void Below I can see where the up value comes in and also in the file. The int value seems to be what is missing. I was studying C but never made it that far. From the file in question: udp_discardcb(struct udpcb *up, int isudp) _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #1J8DaVK5 (FB_hackers)
文章代碼(AID): #1J8DaVK5 (FB_hackers)