summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkristerw <kristerw@NetBSD.org>2003-07-08 01:43:28 +0000
committerkristerw <kristerw@NetBSD.org>2003-07-08 01:43:28 +0000
commitc1f62bbe2930aa1cd6ac3e1eba21d7b88e34c611 (patch)
tree1ff0e2cf5845a44fb2f952c51e01ba248cb7cf35 /include
parent4314639609959b2c8954a445275bce07acfc0389 (diff)
Do not give names to the parameters in function prototypes (those names
reduces the usefulness of the gcc -Wshadow flag).
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h7
-rw-r--r--include/unistd.h4
2 files changed, 5 insertions, 6 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index f0beb429548..2884f636abf 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -1,4 +1,4 @@
-/* $NetBSD: stdlib.h,v 1.62 2003/04/28 23:16:14 bjh21 Exp $ */
+/* $NetBSD: stdlib.h,v 1.63 2003/07/08 01:43:28 kristerw Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -287,9 +287,8 @@ long long strsuftollx(const char *, const char *, long long, long long,
int l64a_r __P((long, char *, int));
-size_t shquote __P((const char *arg, char *buf, size_t bufsize));
-size_t shquotev __P((int argc, char * const * argv, char *buf,
- size_t bufsize));
+size_t shquote __P((const char *, char *, size_t));
+size_t shquotev __P((int, char * const *, char *, size_t));
#endif /* _NETBSD_SOURCE */
#endif /* _POSIX_C_SOURCE || _XOPEN_SOURCE || _NETBSD_SOURCE */
diff --git a/include/unistd.h b/include/unistd.h
index 80ea5fa4e78..01c4c4477cc 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,4 +1,4 @@
-/* $NetBSD: unistd.h,v 1.92 2003/04/28 23:16:15 bjh21 Exp $ */
+/* $NetBSD: unistd.h,v 1.93 2003/07/08 01:43:28 kristerw Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -265,7 +265,7 @@ int lockf __P((int, int, off_t));
int readlink __P((const char *, char *, size_t));
void *sbrk __P((intptr_t));
/* XXX prototype wrong! */
-int setpgrp __P((pid_t pid, pid_t pgrp)); /* obsoleted by setpgid() */
+int setpgrp __P((pid_t, pid_t)); /* obsoleted by setpgid() */
int setregid __P((gid_t, gid_t));
int setreuid __P((uid_t, uid_t));
void swab __P((const void *, void *, size_t));