aboutsummaryrefslogtreecommitdiff
path: root/src/port/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/open.c')
-rw-r--r--src/port/open.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/port/open.c b/src/port/open.c
index ccd2a15b1de..627922b600e 100644
--- a/src/port/open.c
+++ b/src/port/open.c
@@ -6,7 +6,7 @@
*
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/port/open.c,v 1.1 2004/03/24 03:54:16 momjian Exp $
+ * $PostgreSQL: pgsql/src/port/open.c,v 1.2 2004/04/19 17:42:59 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,7 +18,8 @@
#include <errno.h>
#include <assert.h>
-int openFlagsToCreateFileFlags(int openFlags)
+static int
+openFlagsToCreateFileFlags(int openFlags)
{
switch (openFlags & (O_CREAT|O_TRUNC|O_EXCL))
{