[uClibc-cvs] uClibc/include time.h,1.11,1.12

Manuel Novoa III mjn3 at uclibc.org
Sat May 8 05:12:16 UTC 2004


Update of /var/cvs/uClibc/include
In directory nail:/tmp/cvs-serv25773/include

Modified Files:
	time.h 
Log Message:
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.


Index: time.h
===================================================================
RCS file: /var/cvs/uClibc/include/time.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- a/time.h	2 Nov 2003 07:39:23 -0000	1.11
+++ b/time.h	8 May 2004 05:12:14 -0000	1.12
@@ -322,10 +322,8 @@
 /* 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;




More information about the uClibc-cvs mailing list