OSDN Git Service

* libc/include/wchar.h (struct tm0: Declare as incomplete type.
authorcorinna <corinna>
Thu, 15 Oct 2009 08:23:27 +0000 (08:23 +0000)
committercorinna <corinna>
Thu, 15 Oct 2009 08:23:27 +0000 (08:23 +0000)
newlib/ChangeLog
newlib/libc/include/wchar.h

index 969a6bc..539be45 100644 (file)
@@ -1,5 +1,9 @@
 2009-10-15  Corinna Vinschen  <corinna@vinschen.de>
 
+       * libc/include/wchar.h (struct tm0: Declare as incomplete type.
+
+2009-10-15  Corinna Vinschen  <corinna@vinschen.de>
+
        * libc/locale/nl_langinfo.c (nl_langinfo): Add Cygwin-specific temporary
        exception for KOI8 charsets.
 
index 252e59d..234c71e 100644 (file)
 
 _BEGIN_STD_C
 
+/* As required by POSIX.1-2008, declare tm as incomplete type.
+   The actual definition is in time.h. */
+struct tm;
+
 #ifndef _MBSTATE_T
 #define _MBSTATE_T
 typedef _mbstate_t mbstate_t;