summaryrefslogtreecommitdiff
path: root/sys/net/if_dl.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/if_dl.h
parent470facdd7d89074650914f5a3a8ada963b1c071d (diff)
By popular demand, protect from multiple inclusion, and fix to use the
same naming style.
Diffstat (limited to 'sys/net/if_dl.h')
-rw-r--r--sys/net/if_dl.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/net/if_dl.h b/sys/net/if_dl.h
index 2ef93321449..87d7c2ab3cc 100644
--- a/sys/net/if_dl.h
+++ b/sys/net/if_dl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dl.h,v 1.3 2001/01/09 17:24:00 angelos Exp $ */
+/* $OpenBSD: if_dl.h,v 1.4 2001/06/09 06:16:37 angelos Exp $ */
/* $NetBSD: if_dl.h,v 1.8 1995/03/26 20:30:13 jtc Exp $ */
/*
@@ -54,6 +54,9 @@
* expected that all drivers for an interface of a given if_type will agree.
*/
+#ifndef _NET_IF_DL_H_
+#define _NET_IF_DL_H_
+
/*
* Structure of a Link-Level sockaddr:
*/
@@ -80,4 +83,5 @@ void link_addr __P((const char *, struct sockaddr_dl *));
char *link_ntoa __P((const struct sockaddr_dl *));
__END_DECLS
-#endif /* !_KERNEL */
+#endif /* _KERNEL */
+#endif /* _NET_IF_DL_H_ */