diff options
Diffstat (limited to 'src/backend/utils/init/findbe.c')
-rw-r--r-- | src/backend/utils/init/findbe.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/utils/init/findbe.c b/src/backend/utils/init/findbe.c index 2bbc75c60f9..be9f2647d25 100644 --- a/src/backend/utils/init/findbe.c +++ b/src/backend/utils/init/findbe.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/init/Attic/findbe.c,v 1.17 2000/01/26 05:57:26 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/init/Attic/findbe.c,v 1.18 2000/06/08 22:37:33 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -32,6 +32,8 @@ #define S_IXOTH ((S_IXUSR)>>6) #endif +static int ValidateBinary(char *path); + /* * ValidateBinary -- validate "path" as a POSTMASTER/POSTGRES executable file * @@ -39,7 +41,7 @@ * -1 if the regular file "path" does not exist or cannot be executed. * -2 if the file is otherwise valid but cannot be read. */ -int +static int ValidateBinary(char *path) { struct stat buf; |