projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update all header guards.
[tinc]
/
src
/
ipv4.h
diff --git
a/src/ipv4.h
b/src/ipv4.h
index
bd63ad0
..
5fc1afe
100644
(file)
--- a/
src/ipv4.h
+++ b/
src/ipv4.h
@@
-1,3
+1,6
@@
+#ifndef TINC_IPV4_H
+#define TINC_IPV4_H
+
/*
ipv4.h -- missing IPv4 related definitions
Copyright (C) 2005 Ivo Timmermans
/*
ipv4.h -- missing IPv4 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_IPV4_H__
-#define __TINC_IPV4_H__
-
#ifndef AF_INET
#define AF_INET 2
#endif
#ifndef AF_INET
#define AF_INET 2
#endif
@@
-63,7
+63,7
@@
#ifndef HAVE_STRUCT_IP
struct ip {
#ifndef HAVE_STRUCT_IP
struct ip {
-#if
__BYTE_ORDER == __
LITTLE_ENDIAN
+#if
BYTE_ORDER ==
LITTLE_ENDIAN
unsigned int ip_hl:4;
unsigned int ip_v:4;
#else
unsigned int ip_hl:4;
unsigned int ip_v:4;
#else
@@
-146,4
+146,4
@@
struct icmp {
} __attribute__ ((__packed__));
#endif
} __attribute__ ((__packed__));
#endif
-#endif
/* __TINC_IPV4_H__ */
+#endif