From: Tom Lane Date: Sat, 21 May 2022 17:26:08 +0000 (-0400) Subject: Remove unused-and-misspelled function extern declaration. X-Git-Tag: REL_15_BETA2~110 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e19272ef603bdb11a09e7f8500dc4e0fb4ec73de;p=thirdparty%2Fpostgresql.git Remove unused-and-misspelled function extern declaration. Commit c65507763 added "extern XLogRecPtr CalculateMaxmumSafeLSN(void)", which bears no trace of connection to anything else in that patch or anywhere else. Remove it again. Sergei Kornilov (also spotted by Bharath Rupireddy) Discussion: https://postgr.es/m/706501646056870@vla3-6a5326aeb4ee.qloud-c.yandex.net Discussion: https://postgr.es/m/CALj2ACVoQ7NEf43Xz0rfxsGOKYTN5r4VZp2DO2_5p+CMzsRPFw@mail.gmail.com --- diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index d9f2487a969..cd674c3c23f 100644 --- a/src/include/access/xlog.h +++ b/src/include/access/xlog.h @@ -233,7 +233,6 @@ extern void ShutdownXLOG(int code, Datum arg); extern void CreateCheckPoint(int flags); extern bool CreateRestartPoint(int flags); extern WALAvailability GetWALAvailability(XLogRecPtr targetLSN); -extern XLogRecPtr CalculateMaxmumSafeLSN(void); extern void XLogPutNextOid(Oid nextOid); extern XLogRecPtr XLogRestorePoint(const char *rpName); extern void UpdateFullPageWrites(void);