diff options
author | 2020-10-09 16:08:18 +0000 | |
---|---|---|
committer | 2020-10-09 16:08:18 +0000 | |
commit | 311cf48f31eb1bae2643847d958041f83d71bc0a (patch) | |
tree | e466060ab78724b4b96df91a154c60e75f16cd37 /lib/libc | |
parent | As noted by tb@ previous commit only removed an unused fucntion. (diff) | |
download | wireguard-openbsd-311cf48f31eb1bae2643847d958041f83d71bc0a.tar.xz wireguard-openbsd-311cf48f31eb1bae2643847d958041f83d71bc0a.zip |
Partly revert previous commit, these changes we not supposed to go in.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/dlfcn/dlfcn_stubs.c | 3 | ||||
-rw-r--r-- | lib/libc/hidden/dlfcn.h | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/dlfcn/dlfcn_stubs.c b/lib/libc/dlfcn/dlfcn_stubs.c index 6359d1815a8..f0a8093eda3 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.16 2020/10/09 16:01:48 otto Exp $ */ +/* $OpenBSD: dlfcn_stubs.c,v 1.17 2020/10/09 16:08:18 otto Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -103,7 +103,6 @@ dladdr(const void *addr, struct dl_info *info) printf("Wrong dl symbols!\n"); return -1; } -DEF_WEAK(dladdr); #if 0 /* Thread Local Storage argument structure */ diff --git a/lib/libc/hidden/dlfcn.h b/lib/libc/hidden/dlfcn.h index e9c23a96438..566092e6119 100644 --- a/lib/libc/hidden/dlfcn.h +++ b/lib/libc/hidden/dlfcn.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dlfcn.h,v 1.2 2020/10/09 16:01:48 otto Exp $ */ +/* $OpenBSD: dlfcn.h,v 1.3 2020/10/09 16:08:18 otto Exp $ */ /* * Copyright (c) 2019 Philip Guenther <guenther@openbsd.org> * @@ -20,7 +20,7 @@ #include_next <dlfcn.h> -PROTO_NORMAL(dladdr); +PROTO_DEPRECATED(dladdr); PROTO_DEPRECATED(dlclose); PROTO_DEPRECATED(dlerror); PROTO_DEPRECATED(dlopen); |