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

Commit 7b66e2c

Browse files
committed
fix up a couple non-prototypes of the form foo() to be foo(void) -- found using -Wstrict-prototypes
1 parent d0dd5c7 commit 7b66e2c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/bin/pg_basebackup/pg_basebackup.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static PGconn *GetConnection(void);
6464

6565
static void ReceiveTarFile(PGconn *conn, PGresult *res, int rownum);
6666
static void ReceiveAndUnpackTarFile(PGconn *conn, PGresult *res, int rownum);
67-
static void BaseBackup();
67+
static void BaseBackup(void);
6868

6969
#ifdef HAVE_LIBZ
7070
static const char *
@@ -752,7 +752,7 @@ GetConnection(void)
752752
}
753753

754754
static void
755-
BaseBackup()
755+
BaseBackup(void)
756756
{
757757
PGresult *res;
758758
uint32 timeline;

src/interfaces/ecpg/include/ecpglib.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void *ECPGget_var(int number);
9292
void ECPGfree_auto_mem(void);
9393

9494
#ifdef ENABLE_THREAD_SAFETY
95-
void ecpg_pthreads_init();
95+
void ecpg_pthreads_init(void);
9696
#endif
9797

9898
#ifdef __cplusplus

0 commit comments

Comments
 (0)