From 7b66e2c086b1a24d8adad52842725db8c0499e02 Mon Sep 17 00:00:00 2001
From: Greg Stark <stark@mit.edu>
Date: Sun, 27 Mar 2011 21:31:41 +0100
Subject: [PATCH] fix up a couple non-prototypes of the form foo() to be
 foo(void) -- found using -Wstrict-prototypes

---
 src/bin/pg_basebackup/pg_basebackup.c | 4 ++--
 src/interfaces/ecpg/include/ecpglib.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index 86ef1d068d7..9f926bd2423 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -64,7 +64,7 @@ static PGconn *GetConnection(void);
 
 static void ReceiveTarFile(PGconn *conn, PGresult *res, int rownum);
 static void ReceiveAndUnpackTarFile(PGconn *conn, PGresult *res, int rownum);
-static void BaseBackup();
+static void BaseBackup(void);
 
 #ifdef HAVE_LIBZ
 static const char *
@@ -752,7 +752,7 @@ GetConnection(void)
 }
 
 static void
-BaseBackup()
+BaseBackup(void)
 {
 	PGresult   *res;
 	uint32		timeline;
diff --git a/src/interfaces/ecpg/include/ecpglib.h b/src/interfaces/ecpg/include/ecpglib.h
index 21b64d5d382..3b8ed4c4b03 100644
--- a/src/interfaces/ecpg/include/ecpglib.h
+++ b/src/interfaces/ecpg/include/ecpglib.h
@@ -92,7 +92,7 @@ void	   *ECPGget_var(int number);
 void		ECPGfree_auto_mem(void);
 
 #ifdef ENABLE_THREAD_SAFETY
-void		ecpg_pthreads_init();
+void		ecpg_pthreads_init(void);
 #endif
 
 #ifdef __cplusplus
-- 
GitLab