aboutsummaryrefslogtreecommitdiff
path: root/libc/src/dlfcn/dlsym.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/dlfcn/dlsym.cpp')
-rw-r--r--libc/src/dlfcn/dlsym.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/src/dlfcn/dlsym.cpp b/libc/src/dlfcn/dlsym.cpp
index c075c20..dc0da7d 100644
--- a/libc/src/dlfcn/dlsym.cpp
+++ b/libc/src/dlfcn/dlsym.cpp
@@ -14,6 +14,8 @@
namespace LIBC_NAMESPACE_DECL {
// TODO(@izaakschroeder): https://github.com/llvm/llvm-project/issues/97920
-LLVM_LIBC_FUNCTION(void *, dlsym, (void *, const char *)) { return nullptr; }
+LLVM_LIBC_FUNCTION(void *, dlsym, (void *__restrict, const char *__restrict)) {
+ return nullptr;
+}
} // namespace LIBC_NAMESPACE_DECL