summaryrefslogtreecommitdiff
path: root/src/time
diff options
context:
space:
mode:
Diffstat (limited to 'src/time')
-rw-r--r--src/time/__time.c5
-rw-r--r--src/time/asctime.c5
-rw-r--r--src/time/asctime_s.c5
-rw-r--r--src/time/clock.c5
-rw-r--r--src/time/clock_getres.c5
-rw-r--r--src/time/clock_gettime.c5
-rw-r--r--src/time/clock_settime.c5
-rw-r--r--src/time/ctime.c5
-rw-r--r--src/time/ctime_s.c5
-rw-r--r--src/time/daylight.c5
-rw-r--r--src/time/difftime.c5
-rw-r--r--src/time/getdate.c5
-rw-r--r--src/time/getdate_err.c5
-rw-r--r--src/time/gmtime.c5
-rw-r--r--src/time/gmtime_s.c5
-rw-r--r--src/time/localtime.c5
-rw-r--r--src/time/localtime_s.c5
-rw-r--r--src/time/mktime.c5
-rw-r--r--src/time/nanosleep.c5
-rw-r--r--src/time/strftime.c5
-rw-r--r--src/time/strptime.c5
-rw-r--r--src/time/time.c5
-rw-r--r--src/time/timer_create.c5
-rw-r--r--src/time/timer_delete.c5
-rw-r--r--src/time/timer_getoverrun.c5
-rw-r--r--src/time/timer_gettime.c5
-rw-r--r--src/time/timer_settime.c5
-rw-r--r--src/time/timespec_get.c5
-rw-r--r--src/time/timezone.c5
-rw-r--r--src/time/tzname.c5
-rw-r--r--src/time/tzset.c5
31 files changed, 155 insertions, 0 deletions
diff --git a/src/time/__time.c b/src/time/__time.c
index fd72bacb..a8d9cfb9 100644
--- a/src/time/__time.c
+++ b/src/time/__time.c
@@ -1,3 +1,8 @@
+#if 0
+
#include "_time.h"
struct __time __time;
+
+
+#endif
diff --git a/src/time/asctime.c b/src/time/asctime.c
index 1b96a6e0..a67cb603 100644
--- a/src/time/asctime.c
+++ b/src/time/asctime.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stdio.h>
#include <time.h>
@@ -35,3 +37,6 @@ hour of the day (in the range (0,23)), LITERAL(mm) is the minute of the hour
RETURN_ALWAYS(a pointer to the string)
STDC(1)
*/
+
+
+#endif
diff --git a/src/time/asctime_s.c b/src/time/asctime_s.c
index 87985906..a9b69f47 100644
--- a/src/time/asctime_s.c
+++ b/src/time/asctime_s.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
#include <stdio.h>
@@ -41,3 +43,6 @@ str(yyyy) is the year.
/*
CEXT1(201112)
*/
+
+
+#endif
diff --git a/src/time/clock.c b/src/time/clock.c
index bba89063..5ba6dce8 100644
--- a/src/time/clock.c
+++ b/src/time/clock.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
/** get processor time **/
@@ -18,3 +20,6 @@ RETURN_FAILURE(CAST(TYPEDEF(clock_t), -1))
RETURN_SUCCESS(the processor time of the current program)
STDC(1)
*/
+
+
+#endif
diff --git a/src/time/clock_getres.c b/src/time/clock_getres.c
index 34c437d8..0e2165f3 100644
--- a/src/time/clock_getres.c
+++ b/src/time/clock_getres.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
int clock_getres(clockid_t clock_id, struct timespec *res)
@@ -9,3 +11,6 @@ int clock_getres(clockid_t clock_id, struct timespec *res)
POSIX(199309)
LINK(rt)
*/
+
+
+#endif
diff --git a/src/time/clock_gettime.c b/src/time/clock_gettime.c
index 5f35cf93..7eed951e 100644
--- a/src/time/clock_gettime.c
+++ b/src/time/clock_gettime.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
int clock_gettime(clockid_t clock_id, struct timespec *tp)
@@ -9,3 +11,6 @@ int clock_gettime(clockid_t clock_id, struct timespec *tp)
POSIX(199309)
LINK(rt)
*/
+
+
+#endif
diff --git a/src/time/clock_settime.c b/src/time/clock_settime.c
index 27ae656c..1876a1b3 100644
--- a/src/time/clock_settime.c
+++ b/src/time/clock_settime.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
int clock_settime(clockid_t clock_id, const struct timespec *tp)
@@ -9,3 +11,6 @@ int clock_settime(clockid_t clock_id, const struct timespec *tp)
POSIX(199309)
LINK(rt)
*/
+
+
+#endif
diff --git a/src/time/ctime.c b/src/time/ctime.c
index fd40655f..6502c0ab 100644
--- a/src/time/ctime.c
+++ b/src/time/ctime.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
/** convert arithmetic time to string **/
@@ -20,3 +22,6 @@ FUNCTION(asctime).
RETURN_ALWAYS(a pointer to the string)
STDC(1)
*/
+
+
+#endif
diff --git a/src/time/ctime_s.c b/src/time/ctime_s.c
index a8b8e7f3..c86ba1ce 100644
--- a/src/time/ctime_s.c
+++ b/src/time/ctime_s.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
/** convert arithmetic time to string **/
@@ -22,3 +24,6 @@ fn(asctime).
/*
CEXT1(201112)
*/
+
+
+#endif
diff --git a/src/time/daylight.c b/src/time/daylight.c
index 8498acc6..420f8d99 100644
--- a/src/time/daylight.c
+++ b/src/time/daylight.c
@@ -1,5 +1,10 @@
+#if 0
+
#include <time.h>
int daylight;
/*
XOPEN(4)
*/
+
+
+#endif
diff --git a/src/time/difftime.c b/src/time/difftime.c
index 17bb5c71..f9c44df0 100644
--- a/src/time/difftime.c
+++ b/src/time/difftime.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
/** find difference between two times **/
@@ -15,3 +17,6 @@ subtracts ARGUMENT(time0) from ARGUMENT(time1).
RETURN_ALWAYS(the difference in seconds)
STDC(1)
*/
+
+
+#endif
diff --git a/src/time/getdate.c b/src/time/getdate.c
index a6a7ec69..a181326f 100644
--- a/src/time/getdate.c
+++ b/src/time/getdate.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
struct tm *getdate(const char *string)
@@ -8,3 +10,6 @@ struct tm *getdate(const char *string)
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/time/getdate_err.c b/src/time/getdate_err.c
index d74ad88b..16dd33fe 100644
--- a/src/time/getdate_err.c
+++ b/src/time/getdate_err.c
@@ -1,6 +1,11 @@
+#if 0
+
#include <time.h>
int getdate_err;
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/time/gmtime.c b/src/time/gmtime.c
index 637673be..d1660c6f 100644
--- a/src/time/gmtime.c
+++ b/src/time/gmtime.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
#include "_assert.h"
#include "_time.h"
@@ -59,3 +61,6 @@ RETURN_FAILURE(CONSTANT(NULL))
RETURN_SUCCESS(a pointer to the converted time)
STDC(1)
*/
+
+
+#endif
diff --git a/src/time/gmtime_s.c b/src/time/gmtime_s.c
index 30464211..e8cb6a9c 100644
--- a/src/time/gmtime_s.c
+++ b/src/time/gmtime_s.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
/** convert arithmetic time to borken down time **/
@@ -24,3 +26,6 @@ type(struct tm).
/*
CEXT1(201112)
*/
+
+
+#endif
diff --git a/src/time/localtime.c b/src/time/localtime.c
index ddfecab5..310638c6 100644
--- a/src/time/localtime.c
+++ b/src/time/localtime.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
#include "_assert.h"
@@ -26,3 +28,6 @@ converts the locale time at ARGUMENT(timer) to a filled out STRUCTDEF(tm).
RETURN_ALWAYS(a pointer to the converted object)
STDC(1)
*/
+
+
+#endif
diff --git a/src/time/localtime_s.c b/src/time/localtime_s.c
index 8a8797fb..bce984b6 100644
--- a/src/time/localtime_s.c
+++ b/src/time/localtime_s.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
/** convert arithmetic time to broken down time **/
@@ -23,3 +25,6 @@ out type(struct tm).
/*
CEXT1(201112)
*/
+
+
+#endif
diff --git a/src/time/mktime.c b/src/time/mktime.c
index 3b415b4c..4b2be09b 100644
--- a/src/time/mktime.c
+++ b/src/time/mktime.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
#include "_time.h"
#include "_assert.h"
@@ -91,3 +93,6 @@ RETURN_FAILURE(CAST(TYPEDEF(time_t), -1))
RETURN_SUCCESS(the converted time)
STDC(1)
*/
+
+
+#endif
diff --git a/src/time/nanosleep.c b/src/time/nanosleep.c
index 5b722ae6..2e76fa6a 100644
--- a/src/time/nanosleep.c
+++ b/src/time/nanosleep.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
#include "_syscall.h"
@@ -9,3 +11,6 @@ int nanosleep(const struct timespec *rqtp, struct timespec *rmtp)
/*
POSIX(199309)
*/
+
+
+#endif
diff --git a/src/time/strftime.c b/src/time/strftime.c
index dfb68276..4c6630dc 100644
--- a/src/time/strftime.c
+++ b/src/time/strftime.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <locale.h>
#include <stdio.h>
#include <time.h>
@@ -191,3 +193,6 @@ RETURN_FAILURE(ZERO)
RETURN_SUCCESS(the length of the converted string, not counting the terminating null)
STDC(1)
*/
+
+
+#endif
diff --git a/src/time/strptime.c b/src/time/strptime.c
index c3c03547..f1d07bb2 100644
--- a/src/time/strptime.c
+++ b/src/time/strptime.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
char *strptime(const char *restrict buf, const char *restrict format, struct tm *restrict tm)
@@ -8,3 +10,6 @@ char *strptime(const char *restrict buf, const char *restrict format, struct tm
/*
XOPEN(4)
*/
+
+
+#endif
diff --git a/src/time/time.c b/src/time/time.c
index d6f4ba7f..d5f76abe 100644
--- a/src/time/time.c
+++ b/src/time/time.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
#include <errno.h>
#include "_syscall.h"
@@ -29,3 +31,6 @@ RETURN_FAILURE(CAST(TYPEDEF(time_t), -1))
RETURN_SUCCESS(the current calndar time)
STDC(1)
*/
+
+
+#endif
diff --git a/src/time/timer_create.c b/src/time/timer_create.c
index 3c52a589..6122e6f9 100644
--- a/src/time/timer_create.c
+++ b/src/time/timer_create.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
int timer_create(clockid_t clockid, struct sigevent *restrict evp, timer_t *restrict timerid)
@@ -9,3 +11,6 @@ int timer_create(clockid_t clockid, struct sigevent *restrict evp, timer_t *rest
POSIX(199309)
LINK(rt)
*/
+
+
+#endif
diff --git a/src/time/timer_delete.c b/src/time/timer_delete.c
index 82ffa586..d3d36359 100644
--- a/src/time/timer_delete.c
+++ b/src/time/timer_delete.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
int timer_delete(timer_t timerid)
@@ -9,3 +11,6 @@ int timer_delete(timer_t timerid)
POSIX(199309)
LINK(rt)
*/
+
+
+#endif
diff --git a/src/time/timer_getoverrun.c b/src/time/timer_getoverrun.c
index bd82d768..627076ef 100644
--- a/src/time/timer_getoverrun.c
+++ b/src/time/timer_getoverrun.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
int timer_getoverrun(timer_t timerid)
@@ -9,3 +11,6 @@ int timer_getoverrun(timer_t timerid)
POSIX(199309)
LINK(rt)
*/
+
+
+#endif
diff --git a/src/time/timer_gettime.c b/src/time/timer_gettime.c
index ce9e078c..34a866b3 100644
--- a/src/time/timer_gettime.c
+++ b/src/time/timer_gettime.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
int timer_gettime(timer_t timerid, struct itimerspec *value)
@@ -9,3 +11,6 @@ int timer_gettime(timer_t timerid, struct itimerspec *value)
POSIX(199309)
LINK(rt)
*/
+
+
+#endif
diff --git a/src/time/timer_settime.c b/src/time/timer_settime.c
index 3ba34f5f..94d1b81c 100644
--- a/src/time/timer_settime.c
+++ b/src/time/timer_settime.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
int timer_settime(timer_t timerid, int flags, const struct itimerspec * restrict value, struct itimerspec * restrict ovalue)
@@ -9,3 +11,6 @@ int timer_settime(timer_t timerid, int flags, const struct itimerspec * restrict
POSIX(199309)
LINK(rt)
*/
+
+
+#endif
diff --git a/src/time/timespec_get.c b/src/time/timespec_get.c
index 0f1c05df..a8ca1fdf 100644
--- a/src/time/timespec_get.c
+++ b/src/time/timespec_get.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
int timespec_get(struct timespec *ts, int base)
@@ -8,3 +10,6 @@ int timespec_get(struct timespec *ts, int base)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/time/timezone.c b/src/time/timezone.c
index 8dffd9be..82d0cc06 100644
--- a/src/time/timezone.c
+++ b/src/time/timezone.c
@@ -1,6 +1,11 @@
+#if 0
+
#include <time.h>
long timezone;
/*
XOPEN(4)
*/
+
+
+#endif
diff --git a/src/time/tzname.c b/src/time/tzname.c
index f65d1c1c..02a4beaa 100644
--- a/src/time/tzname.c
+++ b/src/time/tzname.c
@@ -1,5 +1,10 @@
+#if 0
+
#include <time.h>
char * tzname[2];
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/time/tzset.c b/src/time/tzset.c
index ad83b9e1..694a0731 100644
--- a/src/time/tzset.c
+++ b/src/time/tzset.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <time.h>
#include <stdlib.h>
#include <string.h>
@@ -40,3 +42,6 @@ void tzset(void)
/*
POSIX(1)
*/
+
+
+#endif