From 617144af7a26e3ce7fe9b0a853f5a2bbdf092422 Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Mon, 14 Mar 2016 22:15:28 -0500 Subject: [PATCH] dns: remove unneeded defines --- ircd/dns.c | 3 --- librb/include/rb_dictionary.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ircd/dns.c b/ircd/dns.c index 67776e66..a4615351 100644 --- a/ircd/dns.c +++ b/ircd/dns.c @@ -37,9 +37,6 @@ #include "msg.h" #include "hash.h" -#define DNS_IDTABLE_SIZE 0x2000 -#define DNS_STATTABLE_SIZE 0x10 - #define DNS_HOST_IPV4 ((char)'4') #define DNS_HOST_IPV6 ((char)'6') #define DNS_REVERSE_IPV4 ((char)'R') diff --git a/librb/include/rb_dictionary.h b/librb/include/rb_dictionary.h index d2eb2c63..8008f932 100644 --- a/librb/include/rb_dictionary.h +++ b/librb/include/rb_dictionary.h @@ -180,7 +180,7 @@ static inline int rb_int64cmp(const void *a, const void *b) static inline int rb_uint64cmp(const void *a, const void *b) { - return RB_POINER_TO_ULONG(b) - RB_POINTER_TO_ULONG(a); + return RB_POINTER_TO_ULONG(b) - RB_POINTER_TO_ULONG(a); } #endif