Content-Length: 256306 | pFad | http://github.com/postgrespro/postgres/commit/393de3a09868458dfb7ef765c544c34624ea1da2

EC Fix assorted inconsistent function declarations. · postgrespro/postgres@393de3a · GitHub
Skip to content

Commit 393de3a

Browse files
committed
Fix assorted inconsistent function declarations.
While gcc doesn't complain if you declare a function "static" and then define it not-static, other compilers do; and in any case the code is highly misleading this way. Add the missing "static" keywords to a couple of recent patches. Per buildfarm member pademelon.
1 parent ee075fc commit 393de3a

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+
static int
233233
SimpleXLogPageRead(XLogReaderState *xlogreader, XLogRecPtr targetPagePtr,
234234
int reqLen, XLogRecPtr targetRecPtr, char *readBuf,
235235
TimeLineID *pageTLI)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/393de3a09868458dfb7ef765c544c34624ea1da2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy