mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-12-07 06:40:59 +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
|
size_t
|
||||||
strftime(s, maxsize, format, t)
|
strftime(s, maxsize, format, t)
|
||||||
char * s;
|
char * const s;
|
||||||
const size_t maxsize;
|
const size_t maxsize;
|
||||||
const char * const format;
|
const char * const format;
|
||||||
const struct tm * t;
|
const struct tm * const t;
|
||||||
{
|
{
|
||||||
char * p;
|
char * p;
|
||||||
|
|
||||||
@ -132,9 +132,9 @@ const struct tm * t;
|
|||||||
static char *
|
static char *
|
||||||
_fmt(format, t, pt, ptlim)
|
_fmt(format, t, pt, ptlim)
|
||||||
const char * format;
|
const char * format;
|
||||||
const struct tm * t;
|
const struct tm * const t;
|
||||||
char * pt;
|
char * pt;
|
||||||
const char * ptlim;
|
const char * const ptlim;
|
||||||
{
|
{
|
||||||
for ( ; *format; ++format) {
|
for ( ; *format; ++format) {
|
||||||
if (*format == '%') {
|
if (*format == '%') {
|
||||||
@ -420,7 +420,7 @@ label:
|
|||||||
static char *
|
static char *
|
||||||
_conv(n, format, pt, ptlim)
|
_conv(n, format, pt, ptlim)
|
||||||
const int n;
|
const int n;
|
||||||
const char * format;
|
const char * const format;
|
||||||
char * const pt;
|
char * const pt;
|
||||||
const char * const ptlim;
|
const char * const ptlim;
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user