summaryrefslogtreecommitdiff
path: root/src/backend/storage/file/fd.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-10-02 19:42:56 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-10-02 19:42:56 +0000
commit416bbbffa3b0ffc2fde3893ea0928206b10afb0a (patch)
tree73e1578b29d731ec8a2c9799acec0ed3d4b4c90c /src/backend/storage/file/fd.c
parenta81aef7f250c5a296e6be013fac38cafeb2a76ab (diff)
Banish caddr_t (mostly), use Datum where appropriate.
Diffstat (limited to 'src/backend/storage/file/fd.c')
-rw-r--r--src/backend/storage/file/fd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c
index de6ca57ca1a..128c49989a0 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
- * $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.63 2000/08/27 21:48:00 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.64 2000/10/02 19:42:47 petere Exp $
*
* NOTES:
*
@@ -38,6 +38,8 @@
*-------------------------------------------------------------------------
*/
+#include "postgres.h"
+
#include <sys/types.h>
#include <sys/file.h>
#include <sys/param.h>
@@ -46,7 +48,6 @@
#include <unistd.h>
#include <fcntl.h>
-#include "postgres.h"
#include "miscadmin.h"
#include "storage/fd.h"
@@ -472,7 +473,7 @@ AllocateVfd(void)
* register proc-exit call to ensure temp files are dropped at
* exit
*/
- on_proc_exit(AtEOXact_Files, NULL);
+ on_proc_exit(AtEOXact_Files, 0);
}
if (VfdCache[0].nextFree == 0)