Update all header guards.
[tinc] / src / ipv4.h
index bd63ad0..5fc1afe 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef TINC_IPV4_H
+#define TINC_IPV4_H
+
 /*
     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.
 */
 
-#ifndef __TINC_IPV4_H__
-#define __TINC_IPV4_H__
-
 #ifndef AF_INET
 #define AF_INET 2
 #endif
@@ -63,7 +63,7 @@
 
 #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
@@ -146,4 +146,4 @@ struct icmp {
 } __attribute__ ((__packed__));
 #endif
 
-#endif /* __TINC_IPV4_H__ */
+#endif