aboutsummaryrefslogtreecommitdiffstats
path: root/src/strftime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strftime.c')
-rw-r--r--src/strftime.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/strftime.c b/src/strftime.c
index 7a9506e55d3..e96d8a92332 100644
--- a/src/strftime.c
+++ b/src/strftime.c
@@ -187,7 +187,7 @@ extern char *tzname[];
187 Similarly for localtime_r. */ 187 Similarly for localtime_r. */
188 188
189# if ! HAVE_TM_GMTOFF 189# if ! HAVE_TM_GMTOFF
190static struct tm *my_strftime_gmtime_r __P ((const time_t *, struct tm *)); 190static struct tm *my_strftime_gmtime_r (const time_t *, struct tm *);
191static struct tm * 191static struct tm *
192my_strftime_gmtime_r (t, tp) 192my_strftime_gmtime_r (t, tp)
193 const time_t *t; 193 const time_t *t;
@@ -200,7 +200,7 @@ my_strftime_gmtime_r (t, tp)
200 return tp; 200 return tp;
201} 201}
202 202
203static struct tm *my_strftime_localtime_r __P ((const time_t *, struct tm *)); 203static struct tm *my_strftime_localtime_r (const time_t *, struct tm *);
204static struct tm * 204static struct tm *
205my_strftime_localtime_r (t, tp) 205my_strftime_localtime_r (t, tp)
206 const time_t *t; 206 const time_t *t;
@@ -371,8 +371,8 @@ static const CHAR_T zeroes[16] = /* "0000000000000000" */
371 more reliable way to accept other sets of digits. */ 371 more reliable way to accept other sets of digits. */
372#define ISDIGIT(Ch) ((unsigned int) (Ch) - L_('0') <= 9) 372#define ISDIGIT(Ch) ((unsigned int) (Ch) - L_('0') <= 9)
373 373
374static CHAR_T *memcpy_lowcase __P ((CHAR_T *dest, const CHAR_T *src, 374static CHAR_T *memcpy_lowcase (CHAR_T *dest, const CHAR_T *src,
375 size_t len LOCALE_PARAM_PROTO)); 375 size_t len LOCALE_PARAM_PROTO);
376 376
377static CHAR_T * 377static CHAR_T *
378memcpy_lowcase (dest, src, len LOCALE_PARAM) 378memcpy_lowcase (dest, src, len LOCALE_PARAM)
@@ -386,8 +386,8 @@ memcpy_lowcase (dest, src, len LOCALE_PARAM)
386 return dest; 386 return dest;
387} 387}
388 388
389static CHAR_T *memcpy_uppcase __P ((CHAR_T *dest, const CHAR_T *src, 389static CHAR_T *memcpy_uppcase (CHAR_T *dest, const CHAR_T *src,
390 size_t len LOCALE_PARAM_PROTO)); 390 size_t len LOCALE_PARAM_PROTO);
391 391
392static CHAR_T * 392static CHAR_T *
393memcpy_uppcase (dest, src, len LOCALE_PARAM) 393memcpy_uppcase (dest, src, len LOCALE_PARAM)
@@ -406,7 +406,7 @@ memcpy_uppcase (dest, src, len LOCALE_PARAM)
406/* Yield the difference between *A and *B, 406/* Yield the difference between *A and *B,
407 measured in seconds, ignoring leap seconds. */ 407 measured in seconds, ignoring leap seconds. */
408# define tm_diff ftime_tm_diff 408# define tm_diff ftime_tm_diff
409static int tm_diff __P ((const struct tm *, const struct tm *)); 409static int tm_diff (const struct tm *, const struct tm *);
410static int 410static int
411tm_diff (a, b) 411tm_diff (a, b)
412 const struct tm *a; 412 const struct tm *a;
@@ -440,7 +440,7 @@ tm_diff (a, b)
440#define ISO_WEEK_START_WDAY 1 /* Monday */ 440#define ISO_WEEK_START_WDAY 1 /* Monday */
441#define ISO_WEEK1_WDAY 4 /* Thursday */ 441#define ISO_WEEK1_WDAY 4 /* Thursday */
442#define YDAY_MINIMUM (-366) 442#define YDAY_MINIMUM (-366)
443static int iso_week_days __P ((int, int)); 443static int iso_week_days (int, int);
444#ifdef __GNUC__ 444#ifdef __GNUC__
445__inline__ 445__inline__
446#endif 446#endif
@@ -499,8 +499,8 @@ static CHAR_T const month_name[][10] =
499#if !defined _LIBC && !defined(WINDOWSNT) && HAVE_TZNAME && HAVE_TZSET 499#if !defined _LIBC && !defined(WINDOWSNT) && HAVE_TZNAME && HAVE_TZSET
500 /* Solaris 2.5 tzset sometimes modifies the storage returned by localtime. 500 /* Solaris 2.5 tzset sometimes modifies the storage returned by localtime.
501 Work around this bug by copying *tp before it might be munged. */ 501 Work around this bug by copying *tp before it might be munged. */
502 size_t _strftime_copytm __P ((char *, size_t, const char *, 502 size_t _strftime_copytm (char *, size_t, const char *,
503 const struct tm * extra_args_spec_iso)); 503 const struct tm * extra_args_spec_iso);
504 size_t 504 size_t
505 my_strftime (s, maxsize, format, tp extra_args) 505 my_strftime (s, maxsize, format, tp extra_args)
506 CHAR_T *s; 506 CHAR_T *s;