summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/dlfcn/dlfcn_stubs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/dlfcn/dlfcn_stubs.c b/lib/libc/dlfcn/dlfcn_stubs.c
index 4203ad345c6..17308285569 100644
--- a/lib/libc/dlfcn/dlfcn_stubs.c
+++ b/lib/libc/dlfcn/dlfcn_stubs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dlfcn_stubs.c,v 1.2 2001/11/20 01:53:21 pvalchev Exp $ */
+/* $OpenBSD: dlfcn_stubs.c,v 1.3 2001/12/26 02:27:13 pvalchev Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -40,7 +40,6 @@
* without getting any unresolved references.
*/
-#ifdef PIC
void *dlopen(const char *libname, int how) __attribute__((weak));
int dlclose(void *handle) __attribute__((weak));
void *dlsym(void *handle, const char *name) __attribute__((weak));
@@ -83,4 +82,3 @@ dlerror()
printf("Wrong dl symbols!\n");
return "Wrong dl symbols!\n";
}
-#endif