]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- fix bug #408: accept patch from Steve Snyder that comments out
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Sep 2011 07:09:11 +0000 (07:09 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Sep 2011 07:09:11 +0000 (07:09 +0000)
  unused functions in lookup3.c.

git-svn-id: file:///svn/unbound/trunk@2494 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/storage/lookup3.c

index d29bb4fcfdfa246eacf94e1c174fbde5ab346e7d..6e17051e3faf808b17422785bbdf33299da1d623 100644 (file)
@@ -1,3 +1,7 @@
+16 September 2011: Wouter
+       - fix bug #408: accept patch from Steve Snyder that comments out
+         unused functions in lookup3.c.
+
 15 September 2011: Wouter
        - release 1.4.13.
        - trunk contains 1.4.14 in development.
index 2a25690cf7890e34a04c505686bbc51d8b60022f..65e3cc48751ef703047cba03186883986e6990df 100644 (file)
@@ -215,6 +215,8 @@ uint32_t        initval)         /* the previous hash, or an arbitrary value */
 }
 
 
+#ifdef SELF_TEST
+
 /*
 --------------------------------------------------------------------
 hashword2() -- same as hashword(), but take two seeds and return two
@@ -260,6 +262,7 @@ uint32_t       *pb)               /* IN: more seed OUT: secondary hash value */
   *pc=c; *pb=b;
 }
 
+#endif /* SELF_TEST */
 
 /*
 -------------------------------------------------------------------------------
@@ -459,6 +462,7 @@ uint32_t hashlittle( const void *key, size_t length, uint32_t initval)
   return c;
 }
 
+#ifdef SELF_TEST
 
 /*
  * hashlittle2: return 2 32-bit hash values
@@ -646,7 +650,9 @@ void hashlittle2(
   *pc=c; *pb=b;
 }
 
+#endif /* SELF_TEST */
 
+#if 0  /* currently not used */
 
 /*
  * hashbig():
@@ -778,6 +784,7 @@ uint32_t hashbig( const void *key, size_t length, uint32_t initval)
   return c;
 }
 
+#endif /* 0 == currently not used */
 
 #ifdef SELF_TEST