summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-11-25 23:34:10 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-11-25 23:34:10 +0000
commit2b1f2f146d87fa20099c4d7080a07527dd19b165 (patch)
tree1d3659843443fba1aa58f806bf29b35262d23cf9 /src
parentc8a9c22173f485c8c053709e1dfa0a617cb6be1a (diff)
downloadmusl-2b1f2f146d87fa20099c4d7080a07527dd19b165.tar.gz
musl-2b1f2f146d87fa20099c4d7080a07527dd19b165.tar.bz2
musl-2b1f2f146d87fa20099c4d7080a07527dd19b165.tar.xz
musl-2b1f2f146d87fa20099c4d7080a07527dd19b165.zip
remove duplicate includes from dynlink.c, strfmon.c and getaddrinfo.c
Diffstat (limited to 'src')
-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 fc588320..174df572 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 f510d9a4..e25db972 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 4c1fe277..e58db6cf 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;