diff options
author | bde <bde@FreeBSD.org> | 1995-12-03 13:45:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-03 13:45:34 +0000 |
commit | 35ee95831939f06cb374e771e2a51cf938bff1fa (patch) | |
tree | 69c8a72f05bc71681c14faa7323ef938e23dadd8 /sys/netns/ns_pcb.c | |
parent | 754df9d25d89ae310e9795f92160d1aee988180b (diff) | |
download | FreeBSD-src-35ee95831939f06cb374e771e2a51cf938bff1fa.zip FreeBSD-src-35ee95831939f06cb374e771e2a51cf938bff1fa.tar.gz |
Moved inline functions for insque() and remque() to <sys/queue.h>.
Protected them with `#ifdef KERNEL' so that <sys/queue.h> is valid C++.
Added the necessary #includes of <sys/queue.h>.
These functions are bogus and should be replaced by the queue macros.
Diffstat (limited to 'sys/netns/ns_pcb.c')
-rw-r--r-- | sys/netns/ns_pcb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netns/ns_pcb.c b/sys/netns/ns_pcb.c index 754c9fb..da840a7 100644 --- a/sys/netns/ns_pcb.c +++ b/sys/netns/ns_pcb.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ns_pcb.c 8.1 (Berkeley) 6/10/93 - * $Id: ns_pcb.c,v 1.2 1994/08/02 07:51:52 davidg Exp $ + * $Id: ns_pcb.c,v 1.3 1995/05/30 08:12:28 rgrimes Exp $ */ #include <sys/param.h> @@ -41,6 +41,7 @@ #include <sys/socket.h> #include <sys/socketvar.h> #include <sys/protosw.h> +#include <sys/queue.h> #include <net/if.h> #include <net/route.h> |