Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7b66e2c

Browse files
committed
fix up a couple non-prototypes of the form foo() to be foo(void) -- found using -Wstrict-prototypes
1 parentd0dd5c7 commit7b66e2c

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
staticvoidReceiveTarFile(PGconn*conn,PGresult*res,intrownum);
6666
staticvoidReceiveAndUnpackTarFile(PGconn*conn,PGresult*res,intrownum);
67-
staticvoidBaseBackup();
67+
staticvoidBaseBackup(void);
6868

6969
#ifdefHAVE_LIBZ
7070
staticconstchar*
@@ -752,7 +752,7 @@ GetConnection(void)
752752
}
753753

754754
staticvoid
755-
BaseBackup()
755+
BaseBackup(void)
756756
{
757757
PGresult*res;
758758
uint32timeline;

‎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
voidECPGfree_auto_mem(void);
9393

9494
#ifdefENABLE_THREAD_SAFETY
95-
voidecpg_pthreads_init();
95+
voidecpg_pthreads_init(void);
9696
#endif
9797

9898
#ifdef__cplusplus

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp