diff --git a/include/grp.h b/include/grp.h index 358181bf139a2c7f8aacd6d380fae27082d46bec..d85814093ab90c93cd9fb582897a0ee626edf74a 100644 --- a/include/grp.h +++ b/include/grp.h @@ -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 diff --git a/include/ifaddrs.h b/include/ifaddrs.h index 4726db6e09387019b54dd793b9faa658875669cc..c0328a8ea510385a56fb15a8a8eba6ba90d1508c 100644 --- a/include/ifaddrs.h +++ b/include/ifaddrs.h @@ -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 } diff --git a/include/stdlib.h b/include/stdlib.h index d2c911fcd7a3f2954dbb8a33b76651f29657f438..42ca83363877206237bad82fa4e116984832cb10 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -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)); diff --git a/include/sys/xattr.h b/include/sys/xattr.h index f926493cbca804f0c53d063fedd8761a46f397a2..6479fcc62e5f36cb02b146d2c3ca8f1fcefbd260 100644 --- a/include/sys/xattr.h +++ b/include/sys/xattr.h @@ -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); diff --git a/include/threads.h b/include/threads.h index 017948261e9f8818340c7fc789c6a4d9aff93d3c..8122b3b1df5e5a931b98eb688d227800934a126b 100644 --- a/include/threads.h +++ b/include/threads.h @@ -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); diff --git a/include/wchar.h b/include/wchar.h index 3e6db5fc604fe331f0bce6966ebe60cd33192ea8..369b1e9f25a4225e5c1a02e6e4bc49736a1e1500 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -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)