diff --git a/lib/libc/gen/nlist.c b/lib/libc/gen/nlist.c index 1a88a24f238a..ee229e025349 100644 --- a/lib/libc/gen/nlist.c +++ b/lib/libc/gen/nlist.c @@ -1,4 +1,4 @@ -/* $NetBSD: nlist.c,v 1.23 2012/03/20 16:36:05 matt Exp $ */ +/* $NetBSD: nlist.c,v 1.24 2012/03/21 15:32:26 christos Exp $ */ /* * Copyright (c) 1989, 1993 @@ -66,7 +66,7 @@ #if 0 static char sccsid[] = "@(#)nlist.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: nlist.c,v 1.23 2012/03/20 16:36:05 matt Exp $"); +__RCSID("$NetBSD: nlist.c,v 1.24 2012/03/21 15:32:26 christos Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -112,9 +112,7 @@ static const struct { }; int -nlist(name, list) - const char *name; - struct nlist *list; +nlist(const char *name, struct nlist *list) { int fd, n; @@ -130,9 +128,7 @@ nlist(name, list) } int -__fdnlist(fd, list) - int fd; - struct nlist *list; +__fdnlist(int fd, struct nlist *list) { size_t i; int rv; diff --git a/lib/libc/gen/nlist_aout.c b/lib/libc/gen/nlist_aout.c index e51fd88b3ff5..618f35f07166 100644 --- a/lib/libc/gen/nlist_aout.c +++ b/lib/libc/gen/nlist_aout.c @@ -1,4 +1,4 @@ -/* $NetBSD: nlist_aout.c,v 1.22 2009/08/20 11:08:59 martin Exp $ */ +/* $NetBSD: nlist_aout.c,v 1.23 2012/03/21 15:32:26 christos Exp $ */ /* * Copyright (c) 1989, 1993 @@ -66,7 +66,7 @@ #if 0 static char sccsid[] = "@(#)nlist.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: nlist_aout.c,v 1.22 2009/08/20 11:08:59 martin Exp $"); +__RCSID("$NetBSD: nlist_aout.c,v 1.23 2012/03/21 15:32:26 christos Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -91,9 +91,7 @@ struct nlist; #include int -__fdnlist_aout(fd, list) - int fd; - struct nlist *list; +__fdnlist_aout(int fd, struct nlist *list) { struct nlist *p, *s; char *strtab; diff --git a/lib/libc/gen/nlist_coff.c b/lib/libc/gen/nlist_coff.c index 1ef34754264e..e533bef1bf32 100644 --- a/lib/libc/gen/nlist_coff.c +++ b/lib/libc/gen/nlist_coff.c @@ -1,4 +1,4 @@ -/* $NetBSD: nlist_coff.c,v 1.8 2009/08/21 08:42:02 he Exp $ */ +/* $NetBSD: nlist_coff.c,v 1.9 2012/03/21 15:32:26 christos Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou @@ -36,7 +36,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: nlist_coff.c,v 1.8 2009/08/21 08:42:02 he Exp $"); +__RCSID("$NetBSD: nlist_coff.c,v 1.9 2012/03/21 15:32:26 christos Exp $"); #endif /* LIBC_SCCS and not lint */ #include "namespace.h" @@ -81,9 +81,7 @@ struct coff_extsym { #define es_offset u.s.u_offset int -__fdnlist_coff(fd, list) - int fd; - struct nlist *list; +__fdnlist_coff(int fd, struct nlist *list) { struct nlist *p; struct coff_filehdr *filehdrp;