summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_hole.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1999-11-01 10:00:40 +0000
committerjulian <julian@FreeBSD.org>1999-11-01 10:00:40 +0000
commit3127cac2f7f22981915fe2bcd980775447b99fba (patch)
treee51cd4a7d79e5013c4c1c3ac7c3d0f44842f89b6 /sys/netgraph/ng_hole.c
parent244fe162cc15cf5fc410c04d9cea91e1b8dbbf3c (diff)
downloadFreeBSD-src-3127cac2f7f22981915fe2bcd980775447b99fba.zip
FreeBSD-src-3127cac2f7f22981915fe2bcd980775447b99fba.tar.gz
Add typedefs for node methods
Suggested by phk.
Diffstat (limited to 'sys/netgraph/ng_hole.c')
-rw-r--r--sys/netgraph/ng_hole.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netgraph/ng_hole.c b/sys/netgraph/ng_hole.c
index 7baf91d..6b3768c 100644
--- a/sys/netgraph/ng_hole.c
+++ b/sys/netgraph/ng_hole.c
@@ -37,7 +37,7 @@
* Author: Julian Elisher <julian@whistle.com>
*
* $FreeBSD$
- * $Whistle: ng_hole.c,v 1.8 1999/01/28 23:54:53 julian Exp $
+ * $Whistle: ng_hole.c,v 1.10 1999/11/01 09:24:51 julian Exp $
*/
/*
@@ -56,8 +56,8 @@
#include <netgraph/ng_hole.h>
/* Netgraph methods */
-static int ngh_rcvdata(hook_p hook, struct mbuf *m, meta_p meta);
-static int ngh_disconnect(hook_p hook);
+static ng_rcvdata_t ngh_rcvdata;
+static ng_disconnect_t ngh_disconnect;
static struct ng_type typestruct = {
NG_VERSION,
OpenPOWER on IntegriCloud