summaryrefslogtreecommitdiff
path: root/lib/libc/gen/dlfcn.c
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-09-11 05:05:48 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-09-11 05:05:48 +0000
commita4a96c8166d8fcb688f24e7f77e578e93ce26b0b (patch)
tree26b60cad0772ec814f7c02ab55fdee79a91e2d5f /lib/libc/gen/dlfcn.c
parent24c502cbc7a0a35cea436ac596529fe24ca27f35 (diff)
Notes
Diffstat (limited to 'lib/libc/gen/dlfcn.c')
-rw-r--r--lib/libc/gen/dlfcn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/dlfcn.c b/lib/libc/gen/dlfcn.c
index 74cdc8bc17d3..4a3500d4aa65 100644
--- a/lib/libc/gen/dlfcn.c
+++ b/lib/libc/gen/dlfcn.c
@@ -102,7 +102,7 @@ dlopen(const char *name, int mode)
#pragma weak dlsym
void *
-dlsym(void *handle, const char *name)
+dlsym(void * __restrict handle, const char * __restrict name)
{
_rtld_error(sorry);
return NULL;
@@ -168,7 +168,7 @@ dlopen(const char *name, int mode)
}
void *
-dlsym(void *handle, const char *name)
+dlsym(void * __restrict handle, const char * __restrict name)
{
if (__ldso_entry == NULL)
return NULL;