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

Commit393de3a

Browse files
committed
Fix assorted inconsistent function declarations.
While gcc doesn't complain if you declare a function "static" and thendefine it not-static, other compilers do; and in any case the code ishighly misleading this way. Add the missing "static" keywords to acouple of recent patches. Per buildfarm member pademelon.
1 parentee075fc commit393de3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_rewind/parsexlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ findLastCheckpoint(const char *datadir, XLogRecPtr forkptr, TimeLineID tli,
229229
}
230230

231231
/* XLogreader callback function, to read a WAL page */
232-
int
232+
staticint
233233
SimpleXLogPageRead(XLogReaderState*xlogreader,XLogRecPtrtargetPagePtr,
234234
intreqLen,XLogRecPtrtargetRecPtr,char*readBuf,
235235
TimeLineID*pageTLI)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp