diff options
| author | Tom Lane | 2006-03-04 21:32:47 +0000 |
|---|---|---|
| committer | Tom Lane | 2006-03-04 21:32:47 +0000 |
| commit | 60d3c9fdf4331b4e50d4c8ece07bb8bc0dad7385 (patch) | |
| tree | 8d6bfd36ae1d0d391dee7ca4a58022c094840be8 /src/include | |
| parent | 2689abf07849d1ed69dfe57e3a999b1c6bb5e603 (diff) | |
Declare the arguments of AllocateFile() as const char *, not char *.
This is consistent with the standard definition of fopen().
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/storage/fd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/storage/fd.h b/src/include/storage/fd.h index 5b1ebe743ba..41c81e23c76 100644 --- a/src/include/storage/fd.h +++ b/src/include/storage/fd.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/fd.h,v 1.54 2005/10/15 02:49:46 momjian Exp $ + * $PostgreSQL: pgsql/src/include/storage/fd.h,v 1.55 2006/03/04 21:32:46 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -71,7 +71,7 @@ extern long FileSeek(File file, long offset, int whence); extern int FileTruncate(File file, long offset); /* Operations that allow use of regular stdio --- USE WITH CAUTION */ -extern FILE *AllocateFile(char *name, char *mode); +extern FILE *AllocateFile(const char *name, const char *mode); extern int FreeFile(FILE *file); /* Operations to allow use of the <dirent.h> library routines */ |
