about summary refs log tree commit diff
path: root/src/ldso/dlsym.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldso/dlsym.c')
-rw-r--r--src/ldso/dlsym.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ldso/dlsym.c b/src/ldso/dlsym.c
index 33693143..c0f50e92 100644
--- a/src/ldso/dlsym.c
+++ b/src/ldso/dlsym.c
@@ -1,8 +1,8 @@
 #include <dlfcn.h>
 
-void *__dlsym(void *, const char *, void *);
+void *__dlsym(void *restrict, const char *restrict, void *restrict);
 
-void *dlsym(void *p, const char *s)
+void *dlsym(void *restrict p, const char *restrict s)
 {
 	return __dlsym(p, s, 0);
 }