aboutsummaryrefslogtreecommitdiff
path: root/src/dlfcn.h
diff options
context:
space:
mode:
authorMichel Zou <xantares09@hotmail.com>2021-03-15 11:21:09 +0100
committerMichel Zou <xantares09@hotmail.com>2021-04-09 21:58:09 +0200
commit36b92340d489345ff226930dabd133ba36d3a674 (patch)
treee9cd658684e7485e72fe2137d29ee03bb651c5ce /src/dlfcn.h
parent522c301ec366e9b42205ae21617780d37cc0e9f0 (diff)
downloaddlfcn-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.h2
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);
85DLFCN_EXPORT char *dlerror(void); 85DLFCN_EXPORT char *dlerror(void);
86 86
87/* Translate address to symbolic information (no POSIX standard) */ 87/* Translate address to symbolic information (no POSIX standard) */
88DLFCN_EXPORT int dladdr(void *addr, Dl_info *info); 88DLFCN_EXPORT int dladdr(const void *addr, Dl_info *info);
89 89
90#ifdef __cplusplus 90#ifdef __cplusplus
91} 91}