Commit 7b66e2c0 authored by Greg Stark's avatar Greg Stark

fix up a couple non-prototypes of the form foo() to be foo(void) -- found using -Wstrict-prototypes

parent d0dd5c73
...@@ -64,7 +64,7 @@ static PGconn *GetConnection(void); ...@@ -64,7 +64,7 @@ static PGconn *GetConnection(void);
static void ReceiveTarFile(PGconn *conn, PGresult *res, int rownum); static void ReceiveTarFile(PGconn *conn, PGresult *res, int rownum);
static void ReceiveAndUnpackTarFile(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 #ifdef HAVE_LIBZ
static const char * static const char *
...@@ -752,7 +752,7 @@ GetConnection(void) ...@@ -752,7 +752,7 @@ GetConnection(void)
} }
static void static void
BaseBackup() BaseBackup(void)
{ {
PGresult *res; PGresult *res;
uint32 timeline; uint32 timeline;
......
...@@ -92,7 +92,7 @@ void *ECPGget_var(int number); ...@@ -92,7 +92,7 @@ void *ECPGget_var(int number);
void ECPGfree_auto_mem(void); void ECPGfree_auto_mem(void);
#ifdef ENABLE_THREAD_SAFETY #ifdef ENABLE_THREAD_SAFETY
void ecpg_pthreads_init(); void ecpg_pthreads_init(void);
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment