Browse Source

remove duplicate includes from dynlink.c, strfmon.c and getaddrinfo.c

Szabolcs Nagy 11 years ago
parent
commit
2b1f2f146d
3 changed files with 0 additions and 7 deletions
  1. 0 3
      src/ldso/dynlink.c
  2. 0 1
      src/locale/strfmon.c
  3. 0 3
      src/network/getaddrinfo.c

+ 0 - 3
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>

+ 0 - 1
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)
 {

+ 0 - 3
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;