mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +03:00
pg_dump: Add some const qualifiers
This commit is contained in:
@ -126,7 +126,7 @@ static void vdie_horribly(ArchiveHandle *AH, const char *modulename,
|
||||
__attribute__((format(PG_PRINTF_ATTRIBUTE, 3, 0), noreturn));
|
||||
|
||||
static void dumpTimestamp(ArchiveHandle *AH, const char *msg, time_t tim);
|
||||
static void SetOutput(ArchiveHandle *AH, char *filename, int compression);
|
||||
static void SetOutput(ArchiveHandle *AH, const char *filename, int compression);
|
||||
static OutputContext SaveOutput(ArchiveHandle *AH);
|
||||
static void RestoreOutput(ArchiveHandle *AH, OutputContext savedContext);
|
||||
|
||||
@ -1173,7 +1173,7 @@ archprintf(Archive *AH, const char *fmt,...)
|
||||
*******************************/
|
||||
|
||||
static void
|
||||
SetOutput(ArchiveHandle *AH, char *filename, int compression)
|
||||
SetOutput(ArchiveHandle *AH, const char *filename, int compression)
|
||||
{
|
||||
int fn;
|
||||
|
||||
|
Reference in New Issue
Block a user