* src/strftime.c (_strftime_copytm): Add declaration.
authorDan Nicolaescu <dann@ics.uci.edu>
Thu, 18 Nov 2010 21:39:15 +0000 (13:39 -0800)
committerDan Nicolaescu <dann@ics.uci.edu>
Thu, 18 Nov 2010 21:39:15 +0000 (13:39 -0800)
src/ChangeLog
src/strftime.c

index afe3e6d..cebb4fc 100644 (file)
@@ -1,5 +1,7 @@
 2010-11-18  Dan Nicolaescu  <dann@ics.uci.edu>
 
+       * strftime.c (_strftime_copytm): Add declaration.
+
        * callproc.c (syms_of_callproc): Use intern_c_string.
 
        Move declarations from .c files to .h files.
index e372e86..5a0923e 100644 (file)
@@ -461,6 +461,9 @@ static CHAR_T const month_name[][10] =
   /* Solaris 2.5 tzset sometimes modifies the storage returned by localtime.
      Work around this bug by copying *tp before it might be munged.  */
   size_t
+  _strftime_copytm (CHAR_T *s, size_t maxsize, const CHAR_T *format,
+                   const struct tm *tp extra_args_spec LOCALE_PARAM_DECL);
+  size_t
   my_strftime (CHAR_T *s, size_t maxsize, const CHAR_T *format,
               const struct tm *tp extra_args_spec)
   {