summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-10-04 06:59:57 +0000
committerguenther <guenther@openbsd.org>2015-10-04 06:59:57 +0000
commit4f7ac3dd208cc2a8c4ef2a5af26fd98708730782 (patch)
tree0161f78be948cd8b7ad8fe15f3d79783ee2de782 /lib/libc
parent__xdrrec_getrec is in the reserved namespace, so it doesn't need to be weak (diff)
downloadwireguard-openbsd-4f7ac3dd208cc2a8c4ef2a5af26fd98708730782.tar.xz
wireguard-openbsd-4f7ac3dd208cc2a8c4ef2a5af26fd98708730782.zip
__fdnlist() is exported for libkvm, but the internal call can go direct
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/nlist.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/gen/nlist.c b/lib/libc/gen/nlist.c
index b846b29ed01..100fa942a88 100644
--- a/lib/libc/gen/nlist.c
+++ b/lib/libc/gen/nlist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nlist.c,v 1.61 2015/08/27 04:37:58 guenther Exp $ */
+/* $OpenBSD: nlist.c,v 1.62 2015/10/04 06:59:57 guenther Exp $ */
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -45,6 +45,7 @@
#define MINIMUM(a, b) (((a) < (b)) ? (a) : (b))
int __fdnlist(int, struct nlist *);
+PROTO_NORMAL(__fdnlist);
#define ISLAST(p) (p->n_un.n_name == 0 || p->n_un.n_name[0] == 0)
@@ -272,6 +273,7 @@ elf_done:
munmap(strtab, symstrsize);
return (nent);
}
+DEF_STRONG(__fdnlist);
int
nlist(const char *name, struct nlist *list)