summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/dlfcn.c6
-rw-r--r--lib/libc/gen/dup3.c2
-rw-r--r--lib/libc/gen/elf_utils.c2
-rw-r--r--lib/libc/gen/fmtcheck.c2
-rw-r--r--lib/libc/gen/nlist.c2
-rw-r--r--lib/libc/gen/sleep.c2
-rw-r--r--lib/libc/gen/uname.c2
-rw-r--r--lib/libc/gen/usleep.c2
-rw-r--r--lib/libc/gen/wait.c2
-rw-r--r--lib/libc/gen/wait3.c2
-rw-r--r--lib/libc/gen/waitid.c2
-rw-r--r--lib/libc/gen/waitpid.c2
12 files changed, 14 insertions, 14 deletions
diff --git a/lib/libc/gen/dlfcn.c b/lib/libc/gen/dlfcn.c
index f65776e..53c9d67 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 b7fd9bf..ff3431a 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 264d953..069f62e 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 0c29f94..7929f1f 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 1f57693..e93f89b 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 bfa5232..6c33c35 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 29986a8..499f761 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 8156348..90be6d4 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 782a459..7cede6e 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 a34085b..b50e3dd 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 0ae4afd..8bdd652 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 ed899bf..5dc4fa8 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)
OpenPOWER on IntegriCloud