[PATCH] Double declaration in pg_upgrade.h
Started by Pavel Borisovalmost 4 years ago2 messages
Hi, hackers!
I've noticed that check_ok() in pg_upgrade.h has been declared two times.
Here's a one-line patch correcting this.
--
Best regards,
Pavel Borisov
Postgres Professional: http://postgrespro.com <http://www.postgrespro.com>
Attachments:
v1-0001-Fix-double-declaration-for-check_ok-in-pg_upgrade.patchapplication/octet-stream; name=v1-0001-Fix-double-declaration-for-check_ok-in-pg_upgrade.patchDownload
From 403ae8570012e06394b5467f40c30b1ae99cb8d1 Mon Sep 17 00:00:00 2001
From: Pavel Borisov <pashkin.elfe@gmail.com>
Date: Wed, 9 Mar 2022 14:21:39 +0400
Subject: [PATCH v1] Fix double declaration for check_ok() in pg_upgrade.h
---
src/bin/pg_upgrade/pg_upgrade.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/bin/pg_upgrade/pg_upgrade.h b/src/bin/pg_upgrade/pg_upgrade.h
index ca86c112924..b9b3ac81b2c 100644
--- a/src/bin/pg_upgrade/pg_upgrade.h
+++ b/src/bin/pg_upgrade/pg_upgrade.h
@@ -429,7 +429,6 @@ void pg_fatal(const char *fmt,...) pg_attribute_printf(1, 2) pg_attribute_noret
void end_progress_output(void);
void prep_status(const char *fmt,...) pg_attribute_printf(1, 2);
void prep_status_progress(const char *fmt,...) pg_attribute_printf(1, 2);
-void check_ok(void);
unsigned int str2uint(const char *str);
--
2.24.3 (Apple Git-128)