summaryrefslogtreecommitdiffstats
path: root/sys/net/raw_cb.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/net/raw_cb.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/net/raw_cb.c')
-rw-r--r--sys/net/raw_cb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/raw_cb.c b/sys/net/raw_cb.c
index 274c546..0471e1c 100644
--- a/sys/net/raw_cb.c
+++ b/sys/net/raw_cb.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)raw_cb.c 8.1 (Berkeley) 6/10/93
- * $Id: raw_cb.c,v 1.4 1995/05/30 08:08:21 rgrimes Exp $
+ * $Id: raw_cb.c,v 1.5 1995/07/29 11:40:59 bde Exp $
*/
#include <sys/param.h>
@@ -41,6 +41,7 @@
#include <sys/socketvar.h>
#include <sys/domain.h>
#include <sys/protosw.h>
+#include <sys/queue.h>
#include <sys/errno.h>
#include <net/if.h>
OpenPOWER on IntegriCloud