aboutsummaryrefslogtreecommitdiff
path: root/include/search.h
diff options
context:
space:
mode:
authorRobert Drehmel <robert@FreeBSD.org>2002-08-14 21:16:41 +0000
committerRobert Drehmel <robert@FreeBSD.org>2002-08-14 21:16:41 +0000
commit840b798c83238d9477451fc3f3af180ca6249e59 (patch)
tree983842569d2950080f5fc9748d651225ee9b21b4 /include/search.h
parent33f9b60eeea647ad7d895fdfb10f309969c37b6b (diff)
downloadsrc-840b798c83238d9477451fc3f3af180ca6249e59.tar.gz
src-840b798c83238d9477451fc3f3af180ca6249e59.zip
- 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.
Notes
Notes: svn path=/head/; revision=101882
Diffstat (limited to 'include/search.h')
-rw-r--r--include/search.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/search.h b/include/search.h
index 75f59bf2d1a7..f0ef44357533 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));