aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-05-09 18:11:55 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-05-09 18:11:55 +0000
commit2ea56cbda6ae67dc8d17085b52fafd16542918ad (patch)
tree364b8d05f4fa0b37028a09549eee1d2feee13c6d
parent4768fd3fd8176173a9e5d1d716cf48c2f91087be (diff)
downloadpostgresql-2ea56cbda6ae67dc8d17085b52fafd16542918ad.tar.gz
postgresql-2ea56cbda6ae67dc8d17085b52fafd16542918ad.zip
Fix missing static declaration for XLogRead().
-rw-r--r--src/backend/replication/walsender.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c
index 07f2b23c911..22272205cdb 100644
--- a/src/backend/replication/walsender.c
+++ b/src/backend/replication/walsender.c
@@ -30,7 +30,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/replication/walsender.c,v 1.19 2010/04/28 16:54:15 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/replication/walsender.c,v 1.20 2010/05/09 18:11:55 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -515,7 +515,7 @@ WalSndKill(int code, Datum arg)
/*
* Read 'nbytes' bytes from WAL into 'buf', starting at location 'recptr'
*/
-void
+static void
XLogRead(char *buf, XLogRecPtr recptr, Size nbytes)
{
XLogRecPtr startRecPtr = recptr;