Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5924878

Browse files
committed
Fix function prototype to silence compiler warnings.
1 parent fae032c commit 5924878

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/timezone/strftime.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1616
*
1717
* IDENTIFICATION
18-
* $PostgreSQL: pgsql/src/timezone/strftime.c,v 1.12 2008/02/16 21:16:04 tgl Exp $
18+
* $PostgreSQL: pgsql/src/timezone/strftime.c,v 1.13 2008/02/19 12:06:35 mha Exp $
1919
*/
2020

2121
#include "postgres.h"
@@ -92,7 +92,8 @@ static char *_add(const char *, char *, const char *);
9292
static char *_conv(int, const char *, char *, const char *);
9393
static char *_fmt(const char *, const struct pg_tm *, char *,
9494
const char *, int *);
95-
static char * _yconv(int, int, int, int, char *, const char *);
95+
static char * _yconv(const int, const int, const int, const int,
96+
char *, const char * const);
9697

9798
#define IN_NONE 0
9899
#define IN_SOME 1

0 commit comments

Comments
 (0)