diff options
-rw-r--r-- | sys/netnatm/natm.h | 4 | ||||
-rw-r--r-- | sys/netnatm/natm_pcb.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/netnatm/natm.h b/sys/netnatm/natm.h index 9c72c5d6a61..e0fc8388bf6 100644 --- a/sys/netnatm/natm.h +++ b/sys/netnatm/natm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: natm.h,v 1.7 2008/05/27 19:57:45 thib Exp $ */ +/* $OpenBSD: natm.h,v 1.8 2009/01/28 15:12:03 claudio Exp $ */ /* * @@ -113,7 +113,7 @@ LIST_HEAD(npcblist, natmpcb); /* global data structures */ -struct npcblist natm_pcbs; /* global list of pcbs */ +extern struct npcblist natm_pcbs; /* global list of pcbs */ extern struct ifqueue natmintrq; /* natm packet input queue */ #define NATM_STAT #ifdef NATM_STAT diff --git a/sys/netnatm/natm_pcb.c b/sys/netnatm/natm_pcb.c index c054a78a63b..f997484ee10 100644 --- a/sys/netnatm/natm_pcb.c +++ b/sys/netnatm/natm_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: natm_pcb.c,v 1.9 2007/10/06 02:18:39 krw Exp $ */ +/* $OpenBSD: natm_pcb.c,v 1.10 2009/01/28 15:12:03 claudio Exp $ */ /* * @@ -54,6 +54,8 @@ #include <netnatm/natm.h> +struct npcblist natm_pcbs; + /* * npcb_alloc: allocate a npcb [in the free state] */ |