]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Portable includes.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 3 Apr 2007 09:54:16 +0000 (09:54 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 3 Apr 2007 09:54:16 +0000 (09:54 +0000)
git-svn-id: file:///svn/unbound/trunk@217 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/storage/lookup3.c

index 7b821d7d7697efd5efa0380cfb2a3d2bd332aca1..f1097aefd4194294f10b2f410d92dc87ebe2c714 100644 (file)
@@ -5,6 +5,7 @@
          Detects unsigned or signed using math trick.
        - constants for DNS flags. 
        - compilation without locks fixup.
+       - removed include of unportable header from lookup3.c.
 
 2 April 2007: Wouter
        - check sizes of udp received messages, not too short.
index 569ec8ae1ddf922b7aba2ce75a44d03aafcc868d..2a25690cf7890e34a04c505686bbc51d8b60022f 100644 (file)
@@ -2,6 +2,7 @@
   March 2007(Wouter) adapted from lookup3.c original, add config.h include.
      added #ifdef VALGRIND to remove 298,384,660 'unused variable k8' warnings.
      added include of lookup3.h to check definitions match declarations.
+     removed include of stdint - config.h takes care of platform independence.
   url http://burtleburtle.net/bob/hash/index.html.
 */
 /*
@@ -45,7 +46,7 @@ on 1 byte), but shoehorning those bytes into integers efficiently is messy.
 #include "util/storage/lookup3.h"
 #include <stdio.h>      /* defines printf for tests */
 #include <time.h>       /* defines time_t for timings in the test */
-#include <stdint.h>     /* defines uint32_t etc */
+/*#include <stdint.h>     defines uint32_t etc  (from config.h) */
 #include <sys/param.h>  /* attempt to define endianness */
 #ifdef linux
 # include <endian.h>    /* attempt to define endianness */