diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/storage/fd.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/include/storage/fd.h b/src/include/storage/fd.h index 011c8efb5b1..9d5a1e81970 100644 --- a/src/include/storage/fd.h +++ b/src/include/storage/fd.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: fd.h,v 1.6 1997/02/14 04:18:42 momjian Exp $ + * $Id: fd.h,v 1.7 1997/08/18 02:15:04 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -34,11 +34,7 @@ #ifndef FD_H #define FD_H -/* - * FileOpen uses the standard UNIX open(2) flags. - */ -#ifndef O_RDONLY -#endif /* O_RDONLY */ +#include <stdio.h> /* * FileSeek uses the standard UNIX lseek(2) flags. @@ -76,10 +72,9 @@ extern long FileTell(File file); extern int FileTruncate(File file, int offset); extern int FileSync(File file); extern int FileNameUnlink(char *filename); -extern void AllocateFile(void); -extern void FreeFile(void); +extern FILE *AllocateFile(char *name, char *mode); +extern void FreeFile(FILE *); extern void closeAllVfds(void); -extern void closeOneVfd(void); extern int pg_fsync(int fd); #endif /* FD_H */ |