[libc-commits] [libc] [libc] Fix typo and amend restrict qualifier (PR #152410)
via libc-commits
libc-commits at lists.llvm.org
Thu Aug 7 11:03:09 PDT 2025
================
@@ -15,8 +15,7 @@
namespace LIBC_NAMESPACE_DECL {
// TODO: https://github.com/llvm/llvm-project/issues/149911
-LLVM_LIBC_FUNCTION(int, dlinfo,
- (void *restrict handle, int request, void *restrict info)) {
+LLVM_LIBC_FUNCTION(int, dlinfo, (void *handle, int request, void *info)) {
----------------
lntue wrote:
> Double checking to proceed with adding `__restrict` on the stub definition? (I can add it on the other dlfcn stubs as well).
Yes please. We should keep the signatures consistent. Thanks,
https://github.com/llvm/llvm-project/pull/152410
More information about the libc-commits
mailing list