[libc-commits] [libc] [libc] Fix typo and amend restrict qualifier (PR #152410)
via libc-commits
libc-commits at lists.llvm.org
Thu Aug 7 08:43:28 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:
`dlinfo` in `dlfcn` is declared with:
```
- type: void *__restrict
- type: int
- type: void *__restrict
```
https://github.com/llvm/llvm-project/pull/152410
More information about the libc-commits
mailing list