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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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)
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