mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:17:45 +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:
parent
87e95ceb69
commit
36a26d7fa8
4 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue