]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Move DUID_LEN to a better header.
authorRoy Marples <roy@marples.name>
Fri, 7 Feb 2014 19:40:20 +0000 (19:40 +0000)
committerRoy Marples <roy@marples.name>
Fri, 7 Feb 2014 19:40:20 +0000 (19:40 +0000)
duid.h
net.h

diff --git a/duid.h b/duid.h
index b3ab00ee65bab54e5f261c8a5b6a717009f3d320..ee3167a5fcfd84ddc9a05705a66cd60ecc4ba2bb 100644 (file)
--- a/duid.h
+++ b/duid.h
 
 #include "net.h"
 
+#ifndef DUID_LEN
+#  define DUID_LEN     128 + 2
+#endif
+
 extern unsigned char *duid;
 extern size_t duid_len;
 
diff --git a/net.h b/net.h
index 5ce1ff02e56f7d2aa094968e6d08d8c68516352f..3854fde5fb418ea2faf5ea4c2fa12c1831dc2cd6 100644 (file)
--- a/net.h
+++ b/net.h
 # endif
 #endif
 
-#ifndef DUID_LEN
-#  define DUID_LEN                     128 + 2
-#endif
-
 #define EUI64_ADDR_LEN                 8
 #define INFINIBAND_ADDR_LEN            20