aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ldso/dynlink.c3
-rw-r--r--src/locale/strfmon.c1
-rw-r--r--src/network/getaddrinfo.c3
3 files changed, 0 insertions, 7 deletions
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c
index fc58832..174df57 100644
--- a/src/ldso/dynlink.c
+++ b/src/ldso/dynlink.c
@@ -7,12 +7,9 @@
#include <elf.h>
#include <sys/mman.h>
#include <limits.h>
-#include <stdint.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <errno.h>
-#include <limits.h>
-#include <elf.h>
#include <link.h>
#include <setjmp.h>
#include <pthread.h>
diff --git a/src/locale/strfmon.c b/src/locale/strfmon.c
index f510d9a..e25db97 100644
--- a/src/locale/strfmon.c
+++ b/src/locale/strfmon.c
@@ -3,7 +3,6 @@
#include <stdarg.h>
#include <monetary.h>
#include <errno.h>
-#include <stdarg.h>
static ssize_t vstrfmon_l(char *s, size_t n, locale_t loc, const char *fmt, va_list ap)
{
diff --git a/src/network/getaddrinfo.c b/src/network/getaddrinfo.c
index 4c1fe27..e58db6c 100644
--- a/src/network/getaddrinfo.c
+++ b/src/network/getaddrinfo.c
@@ -31,9 +31,6 @@ static int have_af(int family)
}
#endif
-#include <stdlib.h>
-#include <netdb.h>
-
union sa {
struct sockaddr_in sin;
struct sockaddr_in6 sin6;