summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-11-07 11:49:22 -0500
committerRich Felker <dalias@aerifal.cx>2016-11-07 11:49:22 -0500
commit7352b59d68aa6d931f9f882b2e0f9de6314d733f (patch)
tree32d506f945abbbeaaa47b0027e92e75ee3c5e891 /include
parented8696742504b6182954254e78ec123c8bcd8d3b (diff)
downloadmusl-7352b59d68aa6d931f9f882b2e0f9de6314d733f.tar.gz
musl-7352b59d68aa6d931f9f882b2e0f9de6314d733f.tar.bz2
musl-7352b59d68aa6d931f9f882b2e0f9de6314d733f.tar.xz
musl-7352b59d68aa6d931f9f882b2e0f9de6314d733f.zip
remove redundant feature test macro checks in sys/time.h
this header is XSI-shaded itself and thus does not need to limit specific content to _XOPEN_SOURCE.
Diffstat (limited to 'include')
-rw-r--r--include/sys/time.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/sys/time.h b/include/sys/time.h
index e4b379ae..c5cab814 100644
--- a/include/sys/time.h
+++ b/include/sys/time.h
@@ -10,9 +10,6 @@ extern "C" {
int gettimeofday (struct timeval *__restrict, void *__restrict);
-#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \
- || defined(_BSD_SOURCE)
-
#define ITIMER_REAL 0
#define ITIMER_VIRTUAL 1
#define ITIMER_PROF 2
@@ -26,8 +23,6 @@ int getitimer (int, struct itimerval *);
int setitimer (int, const struct itimerval *__restrict, struct itimerval *__restrict);
int utimes (const char *, const struct timeval [2]);
-#endif
-
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
struct timezone {
int tz_minuteswest;