aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_backup_tar.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2007-03-18 16:50:44 +0000
committerNeil Conway <neilc@samurai.com>2007-03-18 16:50:44 +0000
commit7221b4fa50e6d21e9536e02afd4fb6412c61d324 (patch)
treef18ccdbb7a1edd2ef5700e356830974e6a789d3c /src/bin/pg_dump/pg_backup_tar.c
parentb9954fbb4ef25fb1ea173d26017d4d128dd15be5 (diff)
downloadpostgresql-7221b4fa50e6d21e9536e02afd4fb6412c61d324.tar.gz
postgresql-7221b4fa50e6d21e9536e02afd4fb6412c61d324.zip
Code cleanup: mark some variables with the "const" modifier, when they
are initialized with a string literal. Patch from Stefan Huehner.
Diffstat (limited to 'src/bin/pg_dump/pg_backup_tar.c')
-rw-r--r--src/bin/pg_dump/pg_backup_tar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_backup_tar.c b/src/bin/pg_dump/pg_backup_tar.c
index 298a2fd0bf2..96287dcbe94 100644
--- a/src/bin/pg_dump/pg_backup_tar.c
+++ b/src/bin/pg_dump/pg_backup_tar.c
@@ -16,7 +16,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_tar.c,v 1.57 2007/02/19 15:05:06 mha Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_tar.c,v 1.58 2007/03/18 16:50:44 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@@ -102,7 +102,7 @@ typedef struct
char *filename;
} lclTocEntry;
-static char *modulename = gettext_noop("tar archiver");
+static const char *modulename = gettext_noop("tar archiver");
static void _LoadBlobs(ArchiveHandle *AH, RestoreOptions *ropt);