diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/library/loader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/loader.c b/src/library/loader.c index b8a3d1b..aa501e3 100644 --- a/src/library/loader.c +++ b/src/library/loader.c @@ -130,14 +130,14 @@ char *wolf_library_errmsg( const wolf_error_t error, const wolf_library_p librar return buf; } -void *wolf_library_get( const wolf_library_p l, const char *name, wolf_error_t *error ) { - void *ret; +WOLF_LIBRARY_FUNCPTR wolf_library_get_func( const wolf_library_p l, const char *name, wolf_error_t *error ) { + WOLF_LIBRARY_FUNCPTR ret; #if defined HAVE_DLFCN ret = dlsym( l->handle, name ); #else #if defined _WIN32 - + ret = GetProcAddress( l->handle, name ); #else #error Not using DLFCN as shared loader. Port first! #endif |