Remove unused obsolete isc_hash_* function, and just keep the FNV-1a version

This commit is contained in:
Ondřej Surý
2018-04-04 23:12:14 +02:00
parent d81e1caa71
commit b097be17ef
34 changed files with 7 additions and 751 deletions
-4
View File
@@ -306,9 +306,6 @@ main(int argc, char **argv) {
result = isc_entropy_create(mctx, &ectx);
check_result(result, "isc_entropy_create()");
result = isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE);
check_result(result, "isc_hash_create()");
result = isc_log_create(mctx, &lctx, &lcfg);
check_result(result, "isc_log_create()");
isc_log_setcontext(lctx);
@@ -418,7 +415,6 @@ main(int argc, char **argv) {
isc_log_destroy(&lctx);
isc_hash_destroy();
isc_entropy_detach(&ectx);
isc_mempool_destroy(&cmp);
-3
View File
@@ -209,8 +209,6 @@ main(int argc, char *argv[]) {
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
RUNTIME_CHECK(isc_entropy_create(mctx, &ectx) == ISC_R_SUCCESS);
RUNTIME_CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)
== ISC_R_SUCCESS);
while ((ch = isc_commandline_parse(argc, argv, "d:vw:")) != -1) {
switch (ch) {
@@ -356,7 +354,6 @@ main(int argc, char *argv[]) {
isc_log_destroy(&lctx);
isc_hash_destroy();
isc_entropy_detach(&ectx);
if (verbose)