diff options
author | Michel Zou <xantares09@hotmail.com> | 2021-03-15 11:21:09 +0100 |
---|---|---|
committer | Michel Zou <xantares09@hotmail.com> | 2021-04-09 21:58:09 +0200 |
commit | 36b92340d489345ff226930dabd133ba36d3a674 (patch) | |
tree | e9cd658684e7485e72fe2137d29ee03bb651c5ce /src/dlfcn.h | |
parent | 522c301ec366e9b42205ae21617780d37cc0e9f0 (diff) | |
download | dlfcn-win32-36b92340d489345ff226930dabd133ba36d3a674.tar.gz dlfcn-win32-36b92340d489345ff226930dabd133ba36d3a674.tar.bz2 dlfcn-win32-36b92340d489345ff226930dabd133ba36d3a674.zip |
dladdr: const void *addr
on unix the addr argument seems to be const
fix that for consistency
Diffstat (limited to 'src/dlfcn.h')
-rw-r--r-- | src/dlfcn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dlfcn.h b/src/dlfcn.h index 164216f..bf5c7d4 100644 --- a/src/dlfcn.h +++ b/src/dlfcn.h | |||
@@ -85,7 +85,7 @@ DLFCN_EXPORT void *dlsym(void *handle, const char *name); | |||
85 | DLFCN_EXPORT char *dlerror(void); | 85 | DLFCN_EXPORT char *dlerror(void); |
86 | 86 | ||
87 | /* Translate address to symbolic information (no POSIX standard) */ | 87 | /* Translate address to symbolic information (no POSIX standard) */ |
88 | DLFCN_EXPORT int dladdr(void *addr, Dl_info *info); | 88 | DLFCN_EXPORT int dladdr(const void *addr, Dl_info *info); |
89 | 89 | ||
90 | #ifdef __cplusplus | 90 | #ifdef __cplusplus |
91 | } | 91 | } |