From d02311a4f878ddd45c2e5b61ab57cd2201c8373c Mon Sep 17 00:00:00 2001 From: robert Date: Wed, 14 Aug 2002 21:16:41 +0000 Subject: - Add the 'restrict' qualifier to match the IEEE Std 1003.1-2001 prototype of the tdelete(3) function. - Remove duplicated space. - Use an ANSI-C function definition for tdelete(3). - Update the manual page. --- include/search.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/search.h') diff --git a/include/search.h b/include/search.h index 75f59bf..f0ef443 100644 --- a/include/search.h +++ b/include/search.h @@ -44,7 +44,8 @@ __BEGIN_DECLS int hcreate(size_t); void hdestroy(void); ENTRY *hsearch(ENTRY, ACTION); -void *tdelete(const void *, void **, int (*)(const void *, const void *)); +void *tdelete(const void *__restrict, void **__restrict, + int (*)(const void *, const void *)); void *tfind(const void *, void **, int (*)(const void *, const void *)); void *tsearch(const void *, void **, int (*)(const void *, const void *)); void twalk(const void *, void (*)(const void *, VISIT, int)); -- cgit v1.1