From 8aeadf4bba0f058b93ceeb201f128bece5fe5149 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sun, 4 Oct 2015 06:59:58 +0000 Subject: __fdnlist() is exported for libkvm, but the internal call can go direct --- lib/libc/gen/nlist.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libc/gen/nlist.c') 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) -- cgit v1.2.3