summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_tty.c')
-rw-r--r--sys/netgraph/ng_tty.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/sys/netgraph/ng_tty.c b/sys/netgraph/ng_tty.c
index f86b403..bacbb72 100644
--- a/sys/netgraph/ng_tty.c
+++ b/sys/netgraph/ng_tty.c
@@ -37,7 +37,7 @@
* Author: Archie Cobbs <archie@whistle.com>
*
* $FreeBSD$
- * $Whistle: ng_tty.c,v 1.18 1999/01/28 23:54:54 julian Exp $
+ * $Whistle: ng_tty.c,v 1.21 1999/11/01 09:24:52 julian Exp $
*/
/*
@@ -133,13 +133,12 @@ static int ngt_input(int c, struct tty *tp);
static int ngt_start(struct tty *tp);
/* Netgraph methods */
-static int ngt_constructor(node_p *node);
-static int ngt_rcvmsg(node_p node, struct ng_mesg *msg,
- const char *retaddr, struct ng_mesg **resp);
-static int ngt_shutdown(node_p node);
-static int ngt_newhook(node_p node, hook_p hook, const char *name);
-static int ngt_rcvdata(hook_p hook, struct mbuf *m, meta_p meta);
-static int ngt_disconnect(hook_p hook);
+static ng_constructor_t ngt_constructor;
+static ng_rcvmsg_t ngt_rcvmsg;
+static ng_shutdown_t ngt_shutdown;
+static ng_newhook_t ngt_newhook;
+static ng_rcvdata_t ngt_rcvdata;
+static ng_disconnect_t ngt_disconnect;
static int ngt_mod_event(module_t mod, int event, void *data);
/* Other stuff */
OpenPOWER on IntegriCloud