Loading...
--- Libc/Libc-1725.40.4/stdlib/FreeBSD/strhash.c
+++ Libc/Libc-583/stdlib/FreeBSD/strhash.c
@@ -67,9 +67,6 @@
*
*/
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wstrict-prototypes"
-
#include <sys/cdefs.h>
__FBSDID("$FreeBSD: src/lib/libc/stdlib/strhash.c,v 1.10 2002/03/22 21:53:10 obrien Exp $");
@@ -88,7 +85,6 @@
static int _hash(int size, char *key);
static hash_node *list_find(caddr_t key, hash_node *head);
-static int assign_key(char *key, hash_node *node);
/*
@@ -245,6 +241,8 @@
}
else{
if (datum){
+
+ static int assign_key();
hash_node *new = (hash_node *)malloc(sizeof(hash_node));
@@ -407,4 +405,3 @@
}
return;
}
-#pragma clang diagnostic pop