comparison src/strftime.c @ 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 9937e00afbbc
children
comparison
equal deleted inserted replaced
111630:a50c8b0620bd 111631:d54bb4248183
458 #endif 458 #endif
459 459
460 #if !defined _LIBC && !defined(WINDOWSNT) && HAVE_TZNAME && HAVE_TZSET 460 #if !defined _LIBC && !defined(WINDOWSNT) && HAVE_TZNAME && HAVE_TZSET
461 /* Solaris 2.5 tzset sometimes modifies the storage returned by localtime. 461 /* Solaris 2.5 tzset sometimes modifies the storage returned by localtime.
462 Work around this bug by copying *tp before it might be munged. */ 462 Work around this bug by copying *tp before it might be munged. */
463 size_t
464 _strftime_copytm (CHAR_T *s, size_t maxsize, const CHAR_T *format,
465 const struct tm *tp extra_args_spec LOCALE_PARAM_DECL);
463 size_t 466 size_t
464 my_strftime (CHAR_T *s, size_t maxsize, const CHAR_T *format, 467 my_strftime (CHAR_T *s, size_t maxsize, const CHAR_T *format,
465 const struct tm *tp extra_args_spec) 468 const struct tm *tp extra_args_spec)
466 { 469 {
467 struct tm tmcopy; 470 struct tm tmcopy;