Commit efebd7b7 authored by Marc G. Fournier's avatar Marc G. Fournier

Cleanup patch of pg_version

Submitted by:  darcy@druid.druid.com (D'Arcy J.M. Cain)
parent ea8adfc4
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 @@ ...@@ -16,6 +16,8 @@
int Noversion = 0; int Noversion = 0;
char *DataDir = (char *) NULL; char *DataDir = (char *) NULL;
extern void SetPgVersion(const char *);
int int
main(int argc, char **argv) main(int argc, char **argv)
{ {
...@@ -24,12 +26,14 @@ main(int argc, char **argv) ...@@ -24,12 +26,14 @@ main(int argc, char **argv)
exit(1); exit(1);
} }
SetPgVersion(argv[1]); SetPgVersion(argv[1]);
exit(0); return(0);
} }
elog() {} void
elog(void) {}
GetDataHome() int
GetDataHome(void)
{ {
return(0); return(0);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment