diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2015-09-20 20:21:49 +0000 |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2015-09-20 20:21:49 +0000 |
commit | d5bf9eb5184a1d6ce35335fd2d3448a9ab7c1fd2 (patch) | |
tree | eb111b74bfc64e01a03215eb679f4eb6a845deac /lib/libc | |
parent | 8d7e1f1585176ff0f0c9139e030a669a52c50600 (diff) | |
download | src-d5bf9eb5184a1d6ce35335fd2d3448a9ab7c1fd2.tar.gz src-d5bf9eb5184a1d6ce35335fd2d3448a9ab7c1fd2.zip |
Remove names from some prototypes
Notes
Notes:
svn path=/head/; revision=288028
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/dlfcn.c | 6 | ||||
-rw-r--r-- | lib/libc/gen/dup3.c | 2 | ||||
-rw-r--r-- | lib/libc/gen/elf_utils.c | 2 | ||||
-rw-r--r-- | lib/libc/gen/fmtcheck.c | 2 | ||||
-rw-r--r-- | lib/libc/gen/nlist.c | 2 | ||||
-rw-r--r-- | lib/libc/gen/sleep.c | 2 | ||||
-rw-r--r-- | lib/libc/gen/uname.c | 2 | ||||
-rw-r--r-- | lib/libc/gen/usleep.c | 2 | ||||
-rw-r--r-- | lib/libc/gen/wait.c | 2 | ||||
-rw-r--r-- | lib/libc/gen/wait3.c | 2 | ||||
-rw-r--r-- | lib/libc/gen/waitid.c | 2 | ||||
-rw-r--r-- | lib/libc/gen/waitpid.c | 2 |
12 files changed, 14 insertions, 14 deletions
diff --git a/lib/libc/gen/dlfcn.c b/lib/libc/gen/dlfcn.c index f65776e8e968..53c9d67ab9e2 100644 --- a/lib/libc/gen/dlfcn.c +++ b/lib/libc/gen/dlfcn.c @@ -41,9 +41,9 @@ __FBSDID("$FreeBSD$"); static char sorry[] = "Service unavailable"; -void _rtld_thread_init(void * li); -void _rtld_atfork_pre(int *locks); -void _rtld_atfork_post(int *locks); +void _rtld_thread_init(void *); +void _rtld_atfork_pre(int *); +void _rtld_atfork_post(int *); /* * For ELF, the dynamic linker directly resolves references to its diff --git a/lib/libc/gen/dup3.c b/lib/libc/gen/dup3.c index b7fd9bfe9244..ff3431af461b 100644 --- a/lib/libc/gen/dup3.c +++ b/lib/libc/gen/dup3.c @@ -35,7 +35,7 @@ __FBSDID("$FreeBSD$"); #include <errno.h> #include "un-namespace.h" -int __dup3(int oldfd, int newfd, int flags); +int __dup3(int, int, int); int __dup3(int oldfd, int newfd, int flags) diff --git a/lib/libc/gen/elf_utils.c b/lib/libc/gen/elf_utils.c index 264d953a494e..069f62e53b34 100644 --- a/lib/libc/gen/elf_utils.c +++ b/lib/libc/gen/elf_utils.c @@ -33,7 +33,7 @@ #include <link.h> #include <stddef.h> -int __elf_phdr_match_addr(struct dl_phdr_info *phdr_info, void *addr); +int __elf_phdr_match_addr(struct dl_phdr_info *, void *); void __pthread_map_stacks_exec(void); int diff --git a/lib/libc/gen/fmtcheck.c b/lib/libc/gen/fmtcheck.c index 0c29f94219cd..7929f1f4b231 100644 --- a/lib/libc/gen/fmtcheck.c +++ b/lib/libc/gen/fmtcheck.c @@ -36,7 +36,7 @@ __FBSDID("$FreeBSD$"); #include <ctype.h> __weak_reference(__fmtcheck, fmtcheck); -const char * __fmtcheck(const char *f1, const char *f2); +const char * __fmtcheck(const char *, const char *); enum __e_fmtcheck_types { FMTCHECK_START, diff --git a/lib/libc/gen/nlist.c b/lib/libc/gen/nlist.c index 1f5769388cd9..e93f89bfd4f2 100644 --- a/lib/libc/gen/nlist.c +++ b/lib/libc/gen/nlist.c @@ -61,7 +61,7 @@ __FBSDID("$FreeBSD$"); int __fdnlist(int, struct nlist *); int __aout_fdnlist(int, struct nlist *); int __elf_fdnlist(int, struct nlist *); -int __elf_is_okay__(Elf_Ehdr *ehdr); +int __elf_is_okay__(Elf_Ehdr *); int nlist(const char *name, struct nlist *list) diff --git a/lib/libc/gen/sleep.c b/lib/libc/gen/sleep.c index bfa5232a7993..6c33c3543a52 100644 --- a/lib/libc/gen/sleep.c +++ b/lib/libc/gen/sleep.c @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$"); #include "libc_private.h" -unsigned int __sleep(unsigned int seconds); +unsigned int __sleep(unsigned int); unsigned int __sleep(unsigned int seconds) diff --git a/lib/libc/gen/uname.c b/lib/libc/gen/uname.c index 29986a843ca5..499f761ae48b 100644 --- a/lib/libc/gen/uname.c +++ b/lib/libc/gen/uname.c @@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$"); #include <errno.h> #undef uname -int uname(struct utsname *name); +int uname(struct utsname *); int uname(struct utsname *name) diff --git a/lib/libc/gen/usleep.c b/lib/libc/gen/usleep.c index 8156348b620c..90be6d455c91 100644 --- a/lib/libc/gen/usleep.c +++ b/lib/libc/gen/usleep.c @@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$"); #include "libc_private.h" -int __usleep(useconds_t useconds); +int __usleep(useconds_t); int __usleep(useconds_t useconds) diff --git a/lib/libc/gen/wait.c b/lib/libc/gen/wait.c index 782a459c57a7..7cede6e321b3 100644 --- a/lib/libc/gen/wait.c +++ b/lib/libc/gen/wait.c @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$"); #include "libc_private.h" -pid_t __wait(int *istat); +pid_t __wait(int *); pid_t __wait(int *istat) diff --git a/lib/libc/gen/wait3.c b/lib/libc/gen/wait3.c index a34085bec512..b50e3dd14b50 100644 --- a/lib/libc/gen/wait3.c +++ b/lib/libc/gen/wait3.c @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$"); #include "libc_private.h" -pid_t __wait3(int *istat, int options, struct rusage *rup); +pid_t __wait3(int *, int, struct rusage *); pid_t __wait3(int *istat, int options, struct rusage *rup) diff --git a/lib/libc/gen/waitid.c b/lib/libc/gen/waitid.c index 0ae4afdcccc8..8bdd6521aa31 100644 --- a/lib/libc/gen/waitid.c +++ b/lib/libc/gen/waitid.c @@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$"); #include "un-namespace.h" #include "libc_private.h" -int __waitid(idtype_t idtype, id_t id, siginfo_t *info, int flags); +int __waitid(idtype_t, id_t, siginfo_t *, int); int __waitid(idtype_t idtype, id_t id, siginfo_t *info, int flags) diff --git a/lib/libc/gen/waitpid.c b/lib/libc/gen/waitpid.c index ed899bf49f74..5dc4fa820ea2 100644 --- a/lib/libc/gen/waitpid.c +++ b/lib/libc/gen/waitpid.c @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$"); #include "libc_private.h" -pid_t __waitpid(pid_t pid, int *istat, int options); +pid_t __waitpid(pid_t, int *, int); pid_t __waitpid(pid_t pid, int *istat, int options) |