aboutsummaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/Makefile2
-rw-r--r--time/localtime.c2
-rw-r--r--time/sys/time.h4
-rw-r--r--time/sys/timeb.h2
-rw-r--r--time/time.h6
-rw-r--r--time/tzset.c2
6 files changed, 9 insertions, 9 deletions
diff --git a/time/Makefile b/time/Makefile
index ec870f2700..5b20e1d071 100644
--- a/time/Makefile
+++ b/time/Makefile
@@ -21,7 +21,7 @@
#
subdir := time
-headers := time.h sys/time.h sys/timeb.h timebits.h
+headers := time.h sys/time.h sys/timeb.h bits/time.h
distribute := tzfile.h private.h scheck.c ialloc.c yearistype \
iso3166.tab zone.tab tzselect.ksh checktab.awk \
README
diff --git a/time/localtime.c b/time/localtime.c
index ab8fc1ac45..6b7c9f394c 100644
--- a/time/localtime.c
+++ b/time/localtime.c
@@ -19,7 +19,7 @@
#include <errno.h>
#include <time.h>
-#include <libc-lock.h>
+#include <bits/libc-lock.h>
/* The C Standard says that localtime and gmtime return the same pointer. */
struct tm _tmbuf;
diff --git a/time/sys/time.h b/time/sys/time.h
index 0204050d22..f5b03f3e9e 100644
--- a/time/sys/time.h
+++ b/time/sys/time.h
@@ -17,15 +17,15 @@
Boston, MA 02111-1307, USA. */
#ifndef _SYS_TIME_H
-
#define _SYS_TIME_H 1
+
#include <features.h>
#include <time.h>
#include <sys/select.h>
#define __need_timeval
-#include <timebits.h>
+#include <bits/time.h>
__BEGIN_DECLS
diff --git a/time/sys/timeb.h b/time/sys/timeb.h
index b3887b7254..9959f92979 100644
--- a/time/sys/timeb.h
+++ b/time/sys/timeb.h
@@ -17,8 +17,8 @@
Boston, MA 02111-1307, USA. */
#ifndef _SYS_TIMEB_H
-
#define _SYS_TIMEB_H 1
+
#include <features.h>
#define __need_time_t
diff --git a/time/time.h b/time/time.h
index 709e56eca2..ce9b9755b1 100644
--- a/time/time.h
+++ b/time/time.h
@@ -44,7 +44,7 @@ __BEGIN_DECLS
/* This defines CLOCKS_PER_SEC, which is the number of processor clock
ticks per second. */
-#include <timebits.h>
+#include <bits/time.h>
/* This is the obsolete POSIX.1-1988 name for the same constant. */
#ifdef __USE_POSIX
@@ -59,7 +59,7 @@ __BEGIN_DECLS
#if !defined __clock_t_defined && (defined _TIME_H || defined __need_clock_t)
#define __clock_t_defined 1
-#include <gnu/types.h>
+#include <bits/types.h>
/* Returned by `clock'. */
typedef __clock_t clock_t;
@@ -70,7 +70,7 @@ typedef __clock_t clock_t;
#if !defined __time_t_defined && (defined _TIME_H || defined __need_time_t)
#define __time_t_defined 1
-#include <gnu/types.h>
+#include <bits/types.h>
/* Returned by `time'. */
typedef __time_t time_t;
diff --git a/time/tzset.c b/time/tzset.c
index 05760b2c62..9eceb73cf5 100644
--- a/time/tzset.c
+++ b/time/tzset.c
@@ -508,7 +508,7 @@ __tz_compute (timer, tm)
return 1;
}
-#include <libc-lock.h>
+#include <bits/libc-lock.h>
/* This locks all the state variables in tzfile.c and this file. */
__libc_lock_define (, __tzset_lock)