Move general macros in dnsmasq.h

This commit is contained in:
Giovanni Bajo authored and Simon Kelley committed 2013-08-20 15:41:19 +01:00
1 parent 02f9b76418
commit 28c625572b
2 files changed
+3 -3

No files matched your search

+3
View File
@@ -56,6 +56,9 @@ typedef unsigned short u16;
typedef unsigned int u32;
typedef unsigned long long u64;
#define countof(x) (long)(sizeof(x) / sizeof(x[0]))
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#include "dns-protocol.h"
#include "dhcp-protocol.h"
#ifdef HAVE_DHCP6
-3
View File
@@ -8,9 +8,6 @@
#define SERIAL_LT -1
#define SERIAL_GT 1
#define countof(x) (long)(sizeof(x) / sizeof(x[0]))
#define MIN(a,b) ((a) < (b) ? (a) : (b))
/* Updated registry that merges various RFCs:
https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xml */
static const VerifyAlg valgs[] =