diff options
author | Neil Conway <neilc@samurai.com> | 2005-06-20 08:00:51 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2005-06-20 08:00:51 +0000 |
commit | 0b62bbe086261a12cc6779244e979c54233da055 (patch) | |
tree | 25dac8b57ca17fde3013934a0b38be86a8c4bb54 /src/timezone/strftime.c | |
parent | ec490f515951c5229808b07b809f1863272c52a2 (diff) | |
download | postgresql-0b62bbe086261a12cc6779244e979c54233da055.tar.gz postgresql-0b62bbe086261a12cc6779244e979c54233da055.zip |
Cosmetic improvements to the timezone code: remove the use of the
'register' qualifier, make some function declarations more consistent,
and so on.
Diffstat (limited to 'src/timezone/strftime.c')
-rw-r--r-- | src/timezone/strftime.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/timezone/strftime.c b/src/timezone/strftime.c index cc45527fe4e..e5490319c6e 100644 --- a/src/timezone/strftime.c +++ b/src/timezone/strftime.c @@ -15,7 +15,7 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * * IDENTIFICATION - * $PostgreSQL: pgsql/src/timezone/strftime.c,v 1.6 2005/04/19 03:13:59 momjian Exp $ + * $PostgreSQL: pgsql/src/timezone/strftime.c,v 1.7 2005/06/20 08:00:51 neilc Exp $ */ #include "postgres.h" @@ -102,7 +102,7 @@ static char *_fmt(const char *, const struct pg_tm *, char *, size_t pg_strftime(char *s, size_t maxsize, const char *format, - const struct pg_tm * t) + const struct pg_tm *t) { char *p; int warn; @@ -116,7 +116,7 @@ pg_strftime(char *s, size_t maxsize, const char *format, } static char * -_fmt(const char *format, const struct pg_tm * t, char *pt, const char *ptlim, +_fmt(const char *format, const struct pg_tm *t, char *pt, const char *ptlim, int *warnp) { for (; *format; ++format) @@ -467,7 +467,7 @@ _fmt(const char *format, const struct pg_tm * t, char *pt, const char *ptlim, } static char * -_conv(const int n, const char *format, char *pt, const char *ptlim) +_conv(int n, const char *format, char *pt, const char *ptlim) { char buf[INT_STRLEN_MAXIMUM(int) +1]; |