mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-12-06 16:42:43 +00:00
constantized
SCCS-file: strftime.c SCCS-SID: 7.31
This commit is contained in:
committed by
Paul Eggert
parent
810d389269
commit
dd76029e5b
10
strftime.c
10
strftime.c
@ -112,10 +112,10 @@ extern char * tzname[];
|
||||
|
||||
size_t
|
||||
strftime(s, maxsize, format, t)
|
||||
char * s;
|
||||
char * const s;
|
||||
const size_t maxsize;
|
||||
const char * const format;
|
||||
const struct tm * t;
|
||||
const struct tm * const t;
|
||||
{
|
||||
char * p;
|
||||
|
||||
@ -132,9 +132,9 @@ const struct tm * t;
|
||||
static char *
|
||||
_fmt(format, t, pt, ptlim)
|
||||
const char * format;
|
||||
const struct tm * t;
|
||||
const struct tm * const t;
|
||||
char * pt;
|
||||
const char * ptlim;
|
||||
const char * const ptlim;
|
||||
{
|
||||
for ( ; *format; ++format) {
|
||||
if (*format == '%') {
|
||||
@ -420,7 +420,7 @@ label:
|
||||
static char *
|
||||
_conv(n, format, pt, ptlim)
|
||||
const int n;
|
||||
const char * format;
|
||||
const char * const format;
|
||||
char * const pt;
|
||||
const char * const ptlim;
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user