From 11fa29c47e28e1bfb8f60ea6797a61425b42fab6 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 3 Oct 2017 17:22:08 +0100 Subject: [PATCH] includes: unbreak search.h properly --- Library/include/search.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/include/search.h b/Library/include/search.h index 159dd179..728b733f 100644 --- a/Library/include/search.h +++ b/Library/include/search.h @@ -16,7 +16,7 @@ typedef struct entry { char *key; char *data; } ENTRY; typedef enum { FIND, ENTER } ACTION; /* Some of our compilers can't do struct arguments at all */ -extern ENTRY * __hsearch(ENTRY __item, ACTION __action); +extern ENTRY * __hsearch(ENTRY *__item, ACTION __action); #define hsearch(a,b,c) __hsearch(&(a),(b),(c)) extern int hcreate(unsigned __nel); extern void hdestroy(void); -- 2.34.1