1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:57:46 +00:00

Userland: Fix wrong signature of dladdr

This function is supposed to take a `const void *addr` as first
parameter, but we took a `void *addr`.

https://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/baselib-dladdr-3.html
This commit is contained in:
Fabian Dellwing 2023-05-03 11:49:31 +02:00 committed by Jelle Raaijmakers
parent 87e95ceb69
commit 36a26d7fa8
4 changed files with 5 additions and 5 deletions

View file

@ -27,6 +27,6 @@ int dlclose(void*);
char* dlerror(void);
void* dlopen(char const*, int);
void* dlsym(void*, char const*);
int dladdr(void*, Dl_info*);
int dladdr(void const*, Dl_info*);
__END_DECLS