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

Lines changed: 3 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy