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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user