summaryrefslogtreecommitdiff
path: root/sys/net/bpfdesc.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/bpfdesc.h
parent470facdd7d89074650914f5a3a8ada963b1c071d (diff)
By popular demand, protect from multiple inclusion, and fix to use the
same naming style.
Diffstat (limited to 'sys/net/bpfdesc.h')
-rw-r--r--sys/net/bpfdesc.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/net/bpfdesc.h b/sys/net/bpfdesc.h
index 0d21bc82f84..4310b6b3769 100644
--- a/sys/net/bpfdesc.h
+++ b/sys/net/bpfdesc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpfdesc.h,v 1.7 2001/05/28 19:51:06 dugsong Exp $ */
+/* $OpenBSD: bpfdesc.h,v 1.8 2001/06/09 06:16:37 angelos Exp $ */
/* $NetBSD: bpfdesc.h,v 1.11 1995/09/27 18:30:42 thorpej Exp $ */
/*
@@ -41,6 +41,9 @@
* @(#)bpfdesc.h 8.1 (Berkeley) 6/10/93
*/
+#ifndef _NET_BPFDESC_H_
+#define _NET_BPFDESC_H_
+
#include <sys/select.h>
/*
@@ -99,5 +102,5 @@ struct bpf_if {
#ifdef _KERNEL
int bpf_setf __P((struct bpf_d *, struct bpf_program *));
-#endif
-
+#endif /* _KERNEL */
+#endif /* _NET_BPFDESC_H_ */