summaryrefslogtreecommitdiff
path: root/include/time.h
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-05-08 05:12:14 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-05-08 05:12:14 +0000
commit0a20ca071b663d9cc5eb37a2dad36e7dc5056652 (patch)
tree96d26236632cd9672e1ea2ffda545b9f36634e25 /include/time.h
parentff50849725bed04e6688e82c002d2cdf71ff065a (diff)
Change clock() to allow wrapping.
Add timegm() function. Make lookup_tzname() static (as it should have been). Have strftime() get timezone information from the passed struct for the %z and %Z conversions when using struct tm extensions.
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/time.h b/include/time.h
index f957dc210..5dc191950 100644
--- a/include/time.h
+++ b/include/time.h
@@ -322,10 +322,8 @@ extern int stime (__const time_t *__when) __THROW;
/* Miscellaneous functions many Unices inherited from the public domain
localtime package. These are included only for compatibility. */
-#if 0
/* Like `mktime', but for TP represents Universal Time, not local time. */
extern time_t timegm (struct tm *__tp) __THROW;
-#endif
/* Another name for `mktime'. */
extern time_t timelocal (struct tm *__tp) __THROW;