]> git.saurik.com Git - apple/libc.git/blame - stdlib/FreeBSD/strhash.c.patch
Libc-763.11.tar.gz
[apple/libc.git] / stdlib / FreeBSD / strhash.c.patch
CommitLineData
3d9156a7
A
1--- strhash.c.orig 2004-08-27 15:27:37.000000000 -0700
2+++ strhash.c 2004-08-27 15:29:08.000000000 -0700
3@@ -85,6 +85,7 @@
4
5 static int _hash(int size, char *key);
6 static hash_node *list_find(caddr_t key, hash_node *head);
7+static int assign_key(char *key, hash_node *node);
8
9
10 /*
11@@ -242,8 +243,6 @@
12 else{
13 if (datum){
14
15- static int assign_key();
16-
17 hash_node *new = (hash_node *)malloc(sizeof(hash_node));
18
19 if (!new || !assign_key(key, new)){