diff options
author | robert <robert@FreeBSD.org> | 2002-08-14 21:16:41 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2002-08-14 21:16:41 +0000 |
commit | d02311a4f878ddd45c2e5b61ab57cd2201c8373c (patch) | |
tree | 983842569d2950080f5fc9748d651225ee9b21b4 /include | |
parent | c892b9928158be63c8856eff5a33bbf7bba79c49 (diff) | |
download | FreeBSD-src-d02311a4f878ddd45c2e5b61ab57cd2201c8373c.zip FreeBSD-src-d02311a4f878ddd45c2e5b61ab57cd2201c8373c.tar.gz |
- 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.
Diffstat (limited to 'include')
-rw-r--r-- | include/search.h | 3 |
1 files changed, 2 insertions, 1 deletions
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)); |