Remove names from some prototypes
This commit is contained in:
parent
8d7e1f1585
commit
d5bf9eb518
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include "libc_private.h"
|
||||
|
||||
int __usleep(useconds_t useconds);
|
||||
int __usleep(useconds_t);
|
||||
|
||||
int
|
||||
__usleep(useconds_t useconds)
|
||||
|
@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include "libc_private.h"
|
||||
|
||||
pid_t __wait(int *istat);
|
||||
pid_t __wait(int *);
|
||||
|
||||
pid_t
|
||||
__wait(int *istat)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user