summaryrefslogtreecommitdiff
path: root/src/strftime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strftime.c')
-rw-r--r--src/strftime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/strftime.c b/src/strftime.c
index e372e86ec8d..5a0923e3723 100644
--- a/src/strftime.c
+++ b/src/strftime.c
@@ -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)
{