aboutsummaryrefslogtreecommitdiff
path: root/src/timezone/strftime.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2008-02-19 12:06:35 +0000
committerMagnus Hagander <magnus@hagander.net>2008-02-19 12:06:35 +0000
commit592487823de8c2a23b52ea2acab27d1b86336c63 (patch)
tree792cb90a030e75c515617679a8a2b24a8f19a730 /src/timezone/strftime.c
parentfae032c9fcd0fd4f4bc0f92413fd2941e3a245d1 (diff)
downloadpostgresql-592487823de8c2a23b52ea2acab27d1b86336c63.tar.gz
postgresql-592487823de8c2a23b52ea2acab27d1b86336c63.zip
Fix function prototype to silence compiler warnings.
Diffstat (limited to 'src/timezone/strftime.c')
-rw-r--r--src/timezone/strftime.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/timezone/strftime.c b/src/timezone/strftime.c
index 934f1210011..3d9d4274c55 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.12 2008/02/16 21:16:04 tgl Exp $
+ * $PostgreSQL: pgsql/src/timezone/strftime.c,v 1.13 2008/02/19 12:06:35 mha Exp $
*/
#include "postgres.h"
@@ -92,7 +92,8 @@ static char *_add(const char *, char *, const char *);
static char *_conv(int, const char *, char *, const char *);
static char *_fmt(const char *, const struct pg_tm *, char *,
const char *, int *);
-static char * _yconv(int, int, int, int, char *, const char *);
+static char * _yconv(const int, const int, const int, const int,
+ char *, const char * const);
#define IN_NONE 0
#define IN_SOME 1