aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/file/fd.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1998-10-26 01:00:13 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1998-10-26 01:00:13 +0000
commit3d87216ab9e766549bf1bfa01cbc2677a1e5b6dd (patch)
tree427b4edff01fe79e5be0c5cabc23c8a50fa3f64e /src/backend/storage/file/fd.c
parent0852fbbb552a5d926b00e9e21af7d05c6d0ebb31 (diff)
downloadpostgresql-3d87216ab9e766549bf1bfa01cbc2677a1e5b6dd.tar.gz
postgresql-3d87216ab9e766549bf1bfa01cbc2677a1e5b6dd.zip
Get rid of some minor compiler warnings.
(HP's cc doesn't like if you forward-declare a routine static, and then don't make it static in the actual definition...)
Diffstat (limited to 'src/backend/storage/file/fd.c')
-rw-r--r--src/backend/storage/file/fd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c
index 3b0824dad43..d8b95b32f01 100644
--- a/src/backend/storage/file/fd.c
+++ b/src/backend/storage/file/fd.c
@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Id: fd.c,v 1.34 1998/09/01 04:31:45 momjian Exp $
+ * $Id: fd.c,v 1.35 1998/10/26 01:00:13 tgl Exp $
*
* NOTES:
*
@@ -175,7 +175,7 @@ pg_fsync(int fd)
#define fsync pg_fsync
-long
+static long
pg_nofile(void)
{
static long no_files = 0;