summaryrefslogtreecommitdiffstats
path: root/sys/netns/spp_usrreq.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-03 13:45:34 +0000
committerbde <bde@FreeBSD.org>1995-12-03 13:45:34 +0000
commit35ee95831939f06cb374e771e2a51cf938bff1fa (patch)
tree69c8a72f05bc71681c14faa7323ef938e23dadd8 /sys/netns/spp_usrreq.c
parent754df9d25d89ae310e9795f92160d1aee988180b (diff)
downloadFreeBSD-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/spp_usrreq.c')
-rw-r--r--sys/netns/spp_usrreq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netns/spp_usrreq.c b/sys/netns/spp_usrreq.c
index f0df56f..d2e554d 100644
--- a/sys/netns/spp_usrreq.c
+++ b/sys/netns/spp_usrreq.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)spp_usrreq.c 8.1 (Berkeley) 6/10/93
- * $Id: spp_usrreq.c,v 1.4 1995/05/30 08:12:31 rgrimes Exp $
+ * $Id: spp_usrreq.c,v 1.5 1995/07/29 11:41:59 bde Exp $
*/
#include <sys/param.h>
@@ -39,6 +39,7 @@
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/protosw.h>
+#include <sys/queue.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <sys/errno.h>
OpenPOWER on IntegriCloud