mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
dns: remove unneeded defines
This commit is contained in:
parent
9ca15a2679
commit
617144af7a
2 changed files with 1 additions and 4 deletions
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue