aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/include/search.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-20 18:22:27 +0000
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-20 18:22:27 +0000
commit3c7451d8de9b4ec70c8b9fb444d47bec9e06e038 (patch)
treeb31ff17944b6834ea806df68ea2d5c35004aaf9c /newlib/libc/include/search.h
parentea9d80921f04e6f4f2f97f0984f002a98acd92b0 (diff)
downloadnewlib-3c7451d8de9b4ec70c8b9fb444d47bec9e06e038.zip
newlib-3c7451d8de9b4ec70c8b9fb444d47bec9e06e038.tar.gz
newlib-3c7451d8de9b4ec70c8b9fb444d47bec9e06e038.tar.bz2
2013-11-20 Daniel Ramirez <javamonn@gmail.com>
* libc/include/search.h, libc/search/tdelete.c: Add restrict keyword.
Diffstat (limited to 'newlib/libc/include/search.h')
-rw-r--r--newlib/libc/include/search.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/search.h b/newlib/libc/include/search.h
index db2c48f..ed321b0 100644
--- a/newlib/libc/include/search.h
+++ b/newlib/libc/include/search.h
@@ -54,7 +54,7 @@ ENTRY *hsearch(ENTRY, ACTION);
int hcreate_r(size_t, struct hsearch_data *);
void hdestroy_r(struct hsearch_data *);
int hsearch_r(ENTRY, ACTION, ENTRY **, struct hsearch_data *);
-void *tdelete(const void *, void **, __compar_fn_t);
+void *tdelete(const void *__restrict, void **__restrict, __compar_fn_t);
void tdestroy (void *, void (*)(void *));
void *tfind(const void *, void **, __compar_fn_t);
void *tsearch(const void *, void **, __compar_fn_t);