svn commit: r288028 - head/lib/libc/gen

Craig Rodrigues rodrigc at FreeBSD.org
Sun Sep 20 20:21:53 UTC 2015


Author: rodrigc
Date: Sun Sep 20 20:21:49 2015
New Revision: 288028
URL: https://svnweb.freebsd.org/changeset/base/288028

Log:
  Remove names from some prototypes

Modified:
  head/lib/libc/gen/dlfcn.c
  head/lib/libc/gen/dup3.c
  head/lib/libc/gen/elf_utils.c
  head/lib/libc/gen/fmtcheck.c
  head/lib/libc/gen/nlist.c
  head/lib/libc/gen/sleep.c
  head/lib/libc/gen/uname.c
  head/lib/libc/gen/usleep.c
  head/lib/libc/gen/wait.c
  head/lib/libc/gen/wait3.c
  head/lib/libc/gen/waitid.c
  head/lib/libc/gen/waitpid.c

Modified: head/lib/libc/gen/dlfcn.c
==============================================================================
--- head/lib/libc/gen/dlfcn.c	Sun Sep 20 20:16:34 2015	(r288027)
+++ head/lib/libc/gen/dlfcn.c	Sun Sep 20 20:21:49 2015	(r288028)
@@ -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

Modified: head/lib/libc/gen/dup3.c
==============================================================================
--- head/lib/libc/gen/dup3.c	Sun Sep 20 20:16:34 2015	(r288027)
+++ head/lib/libc/gen/dup3.c	Sun Sep 20 20:21:49 2015	(r288028)
@@ -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)

Modified: head/lib/libc/gen/elf_utils.c
==============================================================================
--- head/lib/libc/gen/elf_utils.c	Sun Sep 20 20:16:34 2015	(r288027)
+++ head/lib/libc/gen/elf_utils.c	Sun Sep 20 20:21:49 2015	(r288028)
@@ -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

Modified: head/lib/libc/gen/fmtcheck.c
==============================================================================
--- head/lib/libc/gen/fmtcheck.c	Sun Sep 20 20:16:34 2015	(r288027)
+++ head/lib/libc/gen/fmtcheck.c	Sun Sep 20 20:21:49 2015	(r288028)
@@ -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,

Modified: head/lib/libc/gen/nlist.c
==============================================================================
--- head/lib/libc/gen/nlist.c	Sun Sep 20 20:16:34 2015	(r288027)
+++ head/lib/libc/gen/nlist.c	Sun Sep 20 20:21:49 2015	(r288028)
@@ -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)

Modified: head/lib/libc/gen/sleep.c
==============================================================================
--- head/lib/libc/gen/sleep.c	Sun Sep 20 20:16:34 2015	(r288027)
+++ head/lib/libc/gen/sleep.c	Sun Sep 20 20:21:49 2015	(r288028)
@@ -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)

Modified: head/lib/libc/gen/uname.c
==============================================================================
--- head/lib/libc/gen/uname.c	Sun Sep 20 20:16:34 2015	(r288027)
+++ head/lib/libc/gen/uname.c	Sun Sep 20 20:21:49 2015	(r288028)
@@ -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)

Modified: head/lib/libc/gen/usleep.c
==============================================================================
--- head/lib/libc/gen/usleep.c	Sun Sep 20 20:16:34 2015	(r288027)
+++ head/lib/libc/gen/usleep.c	Sun Sep 20 20:21:49 2015	(r288028)
@@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$");
 
 #include "libc_private.h"
 
-int __usleep(useconds_t useconds);
+int __usleep(useconds_t);
 
 int
 __usleep(useconds_t useconds)

Modified: head/lib/libc/gen/wait.c
==============================================================================
--- head/lib/libc/gen/wait.c	Sun Sep 20 20:16:34 2015	(r288027)
+++ head/lib/libc/gen/wait.c	Sun Sep 20 20:21:49 2015	(r288028)
@@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$");
 
 #include "libc_private.h"
 
-pid_t __wait(int *istat);
+pid_t __wait(int *);
 
 pid_t
 __wait(int *istat)

Modified: head/lib/libc/gen/wait3.c
==============================================================================
--- head/lib/libc/gen/wait3.c	Sun Sep 20 20:16:34 2015	(r288027)
+++ head/lib/libc/gen/wait3.c	Sun Sep 20 20:21:49 2015	(r288028)
@@ -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)

Modified: head/lib/libc/gen/waitid.c
==============================================================================
--- head/lib/libc/gen/waitid.c	Sun Sep 20 20:16:34 2015	(r288027)
+++ head/lib/libc/gen/waitid.c	Sun Sep 20 20:21:49 2015	(r288028)
@@ -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)

Modified: head/lib/libc/gen/waitpid.c
==============================================================================
--- head/lib/libc/gen/waitpid.c	Sun Sep 20 20:16:34 2015	(r288027)
+++ head/lib/libc/gen/waitpid.c	Sun Sep 20 20:21:49 2015	(r288028)
@@ -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)


More information about the svn-src-all mailing list