pgsql: Make XLogReaderInvalReadState static

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make XLogReaderInvalReadState static
Date: 2019-09-03 21:42:16
Message-ID: E1i5GZ6-0002PK-5y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make XLogReaderInvalReadState static

This function is only used by xlogreader.c itself, so there's no need to
export it. It was introduced by commit 3b02ea4f0780 with the apparent
intention that it could be used externally, but I couldn't find any
external code calling it.

I (Álvaro) couldn't resist the urge to sort nearby function prototypes
properly while at it.

Author: Antonin Houska
Discussion: https://postgr.es/m/14984.1554998742@spoje.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/25dcc9d35dfeb027047ebaea9b27cda1eaa9b393

Modified Files
--------------
src/backend/access/transam/xlogreader.c | 13 +++++++------
src/include/access/xlogreader.h | 4 ----
2 files changed, 7 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2019-09-04 04:26:45 pgsql: Delay fsyncs of pg_basebackup until the end of backup
Previous Message Alvaro Herrera 2019-09-03 18:48:54 pgsql: Remove 'msg' parameter from convert_tuples_by_name