projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert sizeof foo to sizeof(foo).
[tinc]
/
src
/
ethernet.h
diff --git
a/src/ethernet.h
b/src/ethernet.h
index
8bf2b03
..
eea78dd
100644
(file)
--- a/
src/ethernet.h
+++ b/
src/ethernet.h
@@
-1,3
+1,6
@@
+#ifndef TINC_ETHERNET_H
+#define TINC_ETHERNET_H
+
/*
ethernet.h -- missing Ethernet related definitions
Copyright (C) 2005 Ivo Timmermans
/*
ethernet.h -- missing Ethernet related definitions
Copyright (C) 2005 Ivo Timmermans
@@
-18,9
+21,6
@@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef __TINC_ETHERNET_H__
-#define __TINC_ETHERNET_H__
-
#ifndef ETH_ALEN
#define ETH_ALEN 6
#endif
#ifndef ETH_ALEN
#define ETH_ALEN 6
#endif
@@
-86,4
+86,4
@@
struct ether_arp {
#define arp_op ea_hdr.ar_op
#endif
#define arp_op ea_hdr.ar_op
#endif
-#endif
/* __TINC_ETHERNET_H__ */
+#endif