diff options
author | mike <mike@FreeBSD.org> | 2002-09-11 05:05:48 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-09-11 05:05:48 +0000 |
commit | 57d52b441f615390566afb0c89cf1ff438b87639 (patch) | |
tree | 26b60cad0772ec814f7c02ab55fdee79a91e2d5f /lib/libc/gen/dlfcn.c | |
parent | c19bfb71ea5c209e11bde572375f88248e34fb2a (diff) | |
download | FreeBSD-src-57d52b441f615390566afb0c89cf1ff438b87639.zip FreeBSD-src-57d52b441f615390566afb0c89cf1ff438b87639.tar.gz |
Add `restrict' type-qualifier.
Diffstat (limited to 'lib/libc/gen/dlfcn.c')
-rw-r--r-- | lib/libc/gen/dlfcn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/dlfcn.c b/lib/libc/gen/dlfcn.c index 74cdc8b..4a3500d 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; |