aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/file/fd.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2003-12-12 18:45:10 +0000
committerPeter Eisentraut <peter_e@gmx.net>2003-12-12 18:45:10 +0000
commit2afacfc403d439261b7a60c73e164423bc63bbc6 (patch)
tree5e49c4e5d15ad2041c31d38d3ff3e59d6b1e4e00 /src/backend/storage/file/fd.c
parent7ac2f11c14fb5617e5b358a41a7bb3ad91b92b65 (diff)
downloadpostgresql-2afacfc403d439261b7a60c73e164423bc63bbc6.tar.gz
postgresql-2afacfc403d439261b7a60c73e164423bc63bbc6.zip
This patch properly sets the prototype for the on_shmem_exit and
on_proc_exit functions, and adjust all other related code to use the proper types too. by Kurt Roeckx
Diffstat (limited to 'src/backend/storage/file/fd.c')
-rw-r--r--src/backend/storage/file/fd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c
index f7fc421ccb8..78814d77b63 100644
--- a/src/backend/storage/file/fd.c
+++ b/src/backend/storage/file/fd.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.103 2003/11/29 19:51:56 pgsql Exp $
+ * $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.104 2003/12/12 18:45:09 petere Exp $
*
* NOTES:
*
@@ -205,7 +205,7 @@ static int FileAccess(File file);
static File fileNameOpenFile(FileName fileName, int fileFlags, int fileMode);
static char *filepath(const char *filename);
static long pg_nofile(void);
-static void AtProcExit_Files(void);
+static void AtProcExit_Files(int code, Datum arg);
static void CleanupTempFiles(bool isProcExit);
@@ -1141,7 +1141,7 @@ AtEOXact_Files(void)
* Here, we want to clean up *all* temp files including interXact ones.
*/
static void
-AtProcExit_Files(void)
+AtProcExit_Files(int code, Datum arg)
{
CleanupTempFiles(true);
}