mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 14:47:09 +00:00
- fix bug #408: accept patch from Steve Snyder that comments out
unused functions in lookup3.c. git-svn-id: file:///svn/unbound/trunk@2494 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
365f87a4a4
commit
c30e90b435
@ -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
|
15 September 2011: Wouter
|
||||||
- release 1.4.13.
|
- release 1.4.13.
|
||||||
- trunk contains 1.4.14 in development.
|
- trunk contains 1.4.14 in development.
|
||||||
|
@ -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
|
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;
|
*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;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SELF_TEST
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* hashlittle2: return 2 32-bit hash values
|
* hashlittle2: return 2 32-bit hash values
|
||||||
@ -646,7 +650,9 @@ void hashlittle2(
|
|||||||
*pc=c; *pb=b;
|
*pc=c; *pb=b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* SELF_TEST */
|
||||||
|
|
||||||
|
#if 0 /* currently not used */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* hashbig():
|
* hashbig():
|
||||||
@ -778,6 +784,7 @@ uint32_t hashbig( const void *key, size_t length, uint32_t initval)
|
|||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* 0 == currently not used */
|
||||||
|
|
||||||
#ifdef SELF_TEST
|
#ifdef SELF_TEST
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user