diff --git a/src/bin/pg_version/pg_version.c b/src/bin/pg_version/pg_version.c index 4b9b7abc7a1d49c08b2362ed3d0289f42ff253bf..c213379502f121991012f09335a3c46d3f968906 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); }