changeset 111631:d54bb4248183

* src/strftime.c (_strftime_copytm): Add declaration.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 18 Nov 2010 13:39:15 -0800
parents a50c8b0620bd
children e06fc3baed8c
files src/ChangeLog src/strftime.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Nov 18 08:59:12 2010 -0800
+++ b/src/ChangeLog	Thu Nov 18 13:39:15 2010 -0800
@@ -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.
--- a/src/strftime.c	Thu Nov 18 08:59:12 2010 -0800
+++ b/src/strftime.c	Thu Nov 18 13:39:15 2010 -0800
@@ -461,6 +461,9 @@
   /* 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)
   {