Loading...
--- Libc/Libc-583/stdlib/FreeBSD/strhash.c
+++ Libc/Libc-1669.0.4/stdlib/FreeBSD/strhash.c
@@ -67,6 +67,9 @@
*
*/
+#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 $");
@@ -85,6 +88,7 @@
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);
/*
@@ -241,8 +245,6 @@
}
else{
if (datum){
-
- static int assign_key();
hash_node *new = (hash_node *)malloc(sizeof(hash_node));
@@ -405,3 +407,4 @@
}
return;
}
+#pragma clang diagnostic pop