summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2001-12-26 02:27:14 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2001-12-26 02:27:14 +0000
commitd101bf92ec2798b68c8095d38410641d7eae06f0 (patch)
tree3b0a8256dbdb277a5a788b2abe40643fc0d7717c
parent83c4662ad570a30f82f9a3efcdd29560bc5b4948 (diff)
no way for this to be 'shared only', duh
-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