diff options
author | bde <bde@FreeBSD.org> | 1994-11-14 13:54:20 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-11-14 13:54:20 +0000 |
commit | 68a749e066e8771cd635fa142d78ae97b6e86b71 (patch) | |
tree | 19669845cb144bf1c906ca44da681e923d78438c /sys/sys/mbuf.h | |
parent | 11693910a802f97fbf1027a77ba4fadc3dd883ec (diff) | |
download | FreeBSD-src-68a749e066e8771cd635fa142d78ae97b6e86b71.zip FreeBSD-src-68a749e066e8771cd635fa142d78ae97b6e86b71.tar.gz |
Declare a complete prototype for the function pointer *ext_free and the
function m_devget.
Uniformize idempotency ifdef.
Diffstat (limited to 'sys/sys/mbuf.h')
-rw-r--r-- | sys/sys/mbuf.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index 3b23d19..3f888a6 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)mbuf.h 8.3 (Berkeley) 1/21/94 - * $Id: mbuf.h,v 1.7 1994/10/02 20:04:04 davidg Exp $ + * $Id: mbuf.h,v 1.8 1994/11/04 00:28:38 davidg Exp $ */ #ifndef _SYS_MBUF_H_ @@ -86,7 +86,8 @@ struct pkthdr { /* description of external storage mapped into mbuf, valid if M_EXT set */ struct m_ext { caddr_t ext_buf; /* start of buffer */ - void (*ext_free)(); /* free routine if not the usual */ + void (*ext_free) /* free routine if not the usual */ + __P((caddr_t, u_int)); u_int ext_size; /* size of buffer, for ext_free */ }; @@ -385,8 +386,8 @@ void m_cat __P((struct mbuf *,struct mbuf *)); void m_adj __P((struct mbuf *,int)); struct mbuf *m_pullup __P((struct mbuf *, int)); struct mbuf *m_split __P((struct mbuf *,int,int)); -struct mbuf *m_devget __P((char *,int,int,struct ifnet*,void (*copy)())); - +struct mbuf *m_devget __P((char *, int, int, struct ifnet *, + void (*copy)(struct mbuf *, caddr_t, u_int))); #ifdef MBTYPES int mbtypes[] = { /* XXX */ @@ -413,4 +414,4 @@ int mbtypes[] = { /* XXX */ #endif #endif -#endif +#endif /* !_SYS_MBUF_H_ */ |