mirror of git://git.musl-libc.org/musl
remove parameter names from public headers
inclusion of these names was unintentional and in most cases is a namespace violation. Daniel Sabogal tracked down and reported these.
This commit is contained in:
parent
4b8f94c250
commit
2ed4e9d927
|
@ -34,7 +34,7 @@ void endgrent(void);
|
|||
void setgrent(void);
|
||||
|
||||
#ifdef _GNU_SOURCE
|
||||
struct group *fgetgrent(FILE *stream);
|
||||
struct group *fgetgrent(FILE *);
|
||||
int putgrent(const struct group *, FILE *);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -24,8 +24,8 @@ struct ifaddrs {
|
|||
#define ifa_broadaddr ifa_ifu.ifu_broadaddr
|
||||
#define ifa_dstaddr ifa_ifu.ifu_dstaddr
|
||||
|
||||
void freeifaddrs(struct ifaddrs *ifp);
|
||||
int getifaddrs(struct ifaddrs **ifap);
|
||||
void freeifaddrs(struct ifaddrs *);
|
||||
int getifaddrs(struct ifaddrs **);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ void *malloc (size_t);
|
|||
void *calloc (size_t, size_t);
|
||||
void *realloc (void *, size_t);
|
||||
void free (void *);
|
||||
void *aligned_alloc(size_t alignment, size_t size);
|
||||
void *aligned_alloc(size_t, size_t);
|
||||
|
||||
_Noreturn void abort (void);
|
||||
int atexit (void (*) (void));
|
||||
|
|
|
@ -13,10 +13,10 @@ extern "C" {
|
|||
|
||||
ssize_t getxattr(const char *, const char *, void *, size_t);
|
||||
ssize_t lgetxattr(const char *, const char *, void *, size_t);
|
||||
ssize_t fgetxattr(int filedes, const char *, void *, size_t);
|
||||
ssize_t fgetxattr(int, const char *, void *, size_t);
|
||||
ssize_t listxattr(const char *, char *, size_t);
|
||||
ssize_t llistxattr(const char *, char *, size_t);
|
||||
ssize_t flistxattr(int filedes, char *, size_t);
|
||||
ssize_t flistxattr(int, char *, size_t);
|
||||
int setxattr(const char *, const char *, const void *, size_t, int);
|
||||
int lsetxattr(const char *, const char *, const void *, size_t, int);
|
||||
int fsetxattr(int, const char *, const void *, size_t, int);
|
||||
|
|
|
@ -75,7 +75,7 @@ int cnd_timedwait(cnd_t *__restrict, mtx_t *__restrict, const struct timespec *_
|
|||
int cnd_wait(cnd_t *, mtx_t *);
|
||||
|
||||
int tss_create(tss_t *, tss_dtor_t);
|
||||
void tss_delete(tss_t key);
|
||||
void tss_delete(tss_t);
|
||||
|
||||
int tss_set(tss_t, void *);
|
||||
void *tss_get(tss_t);
|
||||
|
|
|
@ -53,7 +53,7 @@ int wcscmp (const wchar_t *, const wchar_t *);
|
|||
int wcsncmp (const wchar_t *, const wchar_t *, size_t);
|
||||
|
||||
int wcscoll(const wchar_t *, const wchar_t *);
|
||||
size_t wcsxfrm (wchar_t *__restrict, const wchar_t *__restrict, size_t n);
|
||||
size_t wcsxfrm (wchar_t *__restrict, const wchar_t *__restrict, size_t);
|
||||
|
||||
wchar_t *wcschr (const wchar_t *, wchar_t);
|
||||
wchar_t *wcsrchr (const wchar_t *, wchar_t);
|
||||
|
@ -165,7 +165,7 @@ int wcscasecmp_l(const wchar_t *, const wchar_t *, locale_t);
|
|||
int wcsncasecmp(const wchar_t *, const wchar_t *, size_t);
|
||||
int wcsncasecmp_l(const wchar_t *, const wchar_t *, size_t, locale_t);
|
||||
int wcscoll_l(const wchar_t *, const wchar_t *, locale_t);
|
||||
size_t wcsxfrm_l(wchar_t *__restrict, const wchar_t *__restrict, size_t n, locale_t);
|
||||
size_t wcsxfrm_l(wchar_t *__restrict, const wchar_t *__restrict, size_t, locale_t);
|
||||
#endif
|
||||
|
||||
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
||||
|
|
Loading…
Reference in New Issue