diff options
author | Szabolcs Nagy <nsz@port70.net> | 2013-12-12 05:09:18 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013-12-12 05:09:18 +0000 |
commit | 571744447c23f91feb6439948f3a619aca850dfb (patch) | |
tree | 996c6f90721d69494683ae213ec22784d02a899a /src/time | |
parent | ac45692a53a1b8d2ede329d91652d43c1fb5dc8d (diff) | |
download | musl-571744447c23f91feb6439948f3a619aca850dfb.tar.gz musl-571744447c23f91feb6439948f3a619aca850dfb.tar.bz2 musl-571744447c23f91feb6439948f3a619aca850dfb.tar.xz musl-571744447c23f91feb6439948f3a619aca850dfb.zip |
include cleanups: remove unused headers and add feature test macros
Diffstat (limited to 'src/time')
-rw-r--r-- | src/time/mktime.c | 2 | ||||
-rw-r--r-- | src/time/nanosleep.c | 1 | ||||
-rw-r--r-- | src/time/strptime.c | 1 | ||||
-rw-r--r-- | src/time/time.c | 1 | ||||
-rw-r--r-- | src/time/wcsftime.c | 1 |
5 files changed, 0 insertions, 6 deletions
diff --git a/src/time/mktime.c b/src/time/mktime.c index ef1fb425..0ab47802 100644 --- a/src/time/mktime.c +++ b/src/time/mktime.c @@ -1,7 +1,5 @@ #include "time_impl.h" #include <errno.h> -#include <stdlib.h> -#include <string.h> time_t mktime(struct tm *tm) { diff --git a/src/time/nanosleep.c b/src/time/nanosleep.c index c8878b11..a2ff4839 100644 --- a/src/time/nanosleep.c +++ b/src/time/nanosleep.c @@ -1,4 +1,3 @@ -#include <unistd.h> #include <time.h> #include "syscall.h" #include "libc.h" diff --git a/src/time/strptime.c b/src/time/strptime.c index 0f66e6c6..d1d141e5 100644 --- a/src/time/strptime.c +++ b/src/time/strptime.c @@ -1,4 +1,3 @@ -#include <stdio.h> #include <stdlib.h> #include <langinfo.h> #include <time.h> diff --git a/src/time/time.c b/src/time/time.c index 22754850..4b95e752 100644 --- a/src/time/time.c +++ b/src/time/time.c @@ -1,5 +1,4 @@ #include <time.h> -#include <sys/time.h> #include "syscall.h" int __clock_gettime(clockid_t, struct timespec *); diff --git a/src/time/wcsftime.c b/src/time/wcsftime.c index a2804ac8..8d2a2ebc 100644 --- a/src/time/wcsftime.c +++ b/src/time/wcsftime.c @@ -1,6 +1,5 @@ #include <wchar.h> #include <time.h> -#include <string.h> #include <locale.h> #include "libc.h" |