summaryrefslogtreecommitdiff
path: root/sys/net/slip.h
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-09 06:16:40 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-09 06:16:40 +0000
commit13c65eac1cefee96451c2c25b660f73de84834ff (patch)
tree0fbacf487c8cd2dee726f32dbece3df23d2f5751 /sys/net/slip.h
parent470facdd7d89074650914f5a3a8ada963b1c071d (diff)
By popular demand, protect from multiple inclusion, and fix to use the
same naming style.
Diffstat (limited to 'sys/net/slip.h')
-rw-r--r--sys/net/slip.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/net/slip.h b/sys/net/slip.h
index d247287ae69..f9de719334d 100644
--- a/sys/net/slip.h
+++ b/sys/net/slip.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: slip.h,v 1.2 1997/02/24 13:34:05 niklas Exp $ */
+/* $OpenBSD: slip.h,v 1.3 2001/06/09 06:16:39 angelos Exp $ */
/* $NetBSD: slip.h,v 1.6 1994/06/29 06:36:53 cgd Exp $ */
/*-
@@ -36,6 +36,9 @@
* @(#)slip.h 8.1 (Berkeley) 2/12/94
*/
+#ifndef _NET_SLIP_H_
+#define _NET_SLIP_H_
+
/* Ioctls operating on SLIP ttys. */
#define SLIOCGUNIT _IOR('t', 88, int) /* get slip unit number */
@@ -52,3 +55,4 @@
#define SLIPDIR_IN 0 /* incoming */
#define SLIPDIR_OUT 1 /* outgoing */
+#endif /* _NET_SLIP_H_ */