Date: Sat, 16 Aug 2008 01:11:14 -0400 (EDT) From: Garrett Wollman <wollman@hergotha.csail.mit.edu> To: rfrench@freebsd.org Cc: net@freebsd.org Subject: Re: .pru_attach and kernel warnings Message-ID: <200808160511.m7G5BEb1083707@hergotha.csail.mit.edu> In-Reply-To: <200808161356.26891.rfrench@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <200808161356.26891.rfrench@freebsd.org>, rfrench@freebsd.org writes: >static int >mpls_attach(struct socket *so) The prototype for a protocol attach functions is int (*pru_attach)(struct socket *so, int proto, struct thread *td); (see sys/protosw.h). You don't have to use these arguments, but you do have to declare them properly. -GAWollman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808160511.m7G5BEb1083707>