From efebd7b7aaec4b4fd13b2c0f9a2daad76daf34ed Mon Sep 17 00:00:00 2001
From: "Marc G. Fournier" <scrappy@hub.org>
Date: Thu, 19 Sep 1996 19:58:27 +0000
Subject: [PATCH] Cleanup patch of pg_version

Submitted by:  darcy@druid.druid.com (D'Arcy J.M. Cain)
---
 src/bin/pg_version/pg_version.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/bin/pg_version/pg_version.c b/src/bin/pg_version/pg_version.c
index 4b9b7abc7a1..c213379502f 100644
--- a/src/bin/pg_version/pg_version.c
+++ b/src/bin/pg_version/pg_version.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/bin/pg_version/Attic/pg_version.c,v 1.2 1996/07/31 02:19:23 scrappy Exp $
+ *    $Header: /cvsroot/pgsql/src/bin/pg_version/Attic/pg_version.c,v 1.3 1996/09/19 19:58:27 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -16,6 +16,8 @@
 int Noversion = 0;
 char *DataDir = (char *) NULL;
 
+extern void SetPgVersion(const char *);
+
 int
 main(int argc, char **argv)
 {
@@ -24,12 +26,14 @@ main(int argc, char **argv)
 	exit(1);
     }
     SetPgVersion(argv[1]);
-    exit(0);
+    return(0);
 }
 
-elog() {}
+void
+elog(void) {}
 
-GetDataHome()
+int
+GetDataHome(void)
 {
 	return(0);
 }
-- 
GitLab