1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00

Mark functions as static and ifdef NOT_USED as appropriate.

This commit is contained in:
Bruce Momjian
2000-06-08 22:38:00 +00:00
parent 5690933d6c
commit 20ad43b576
55 changed files with 188 additions and 175 deletions

View File

@@ -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;