summaryrefslogtreecommitdiff
path: root/src/lib/evil/evil_dlfcn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evil/evil_dlfcn.c')
-rw-r--r--src/lib/evil/evil_dlfcn.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/evil/evil_dlfcn.c b/src/lib/evil/evil_dlfcn.c
index ef161cc782..a6ee3e1c9c 100644
--- a/src/lib/evil/evil_dlfcn.c
+++ b/src/lib/evil/evil_dlfcn.c
@@ -39,7 +39,7 @@ _dl_get_last_error(char *desc)
_dl_err_viewed = 0;
}
-void *
+EVIL_API void *
dlopen(const char* path, int mode EVIL_UNUSED)
{
HMODULE module = NULL;
@@ -95,7 +95,7 @@ dlopen(const char* path, int mode EVIL_UNUSED)
return module;
}
-int
+EVIL_API int
dlclose(void* handle)
{
if (FreeLibrary(handle))
@@ -107,7 +107,7 @@ dlclose(void* handle)
}
}
-void *
+EVIL_API void *
dlsym(void *handle, const char *symbol)
{
FARPROC fp = NULL;
@@ -157,7 +157,7 @@ dlsym(void *handle, const char *symbol)
return fp;
}
-char *
+EVIL_API char *
dlerror (void)
{
if (!_dl_err_viewed)
@@ -184,7 +184,7 @@ _dladdr_comp(const void *p1, const void *p2)
return ( *(int *)p1 - *(int *)p2);
}
-int
+EVIL_API int
dladdr (const void *addr, Dl_info *info)
{
TCHAR tpath[PATH_MAX];