diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2012-03-16 20:03:38 +0200 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2012-03-16 20:35:00 +0200 |
commit | 598bb8cdbd9c2554bd8acfc51c9fed473a7d37bc (patch) | |
tree | 9a857066aeee564532f577acfa39f0c9bd0b019a /src/bin/psql/print.c | |
parent | 359dea2859c63e73c8f3f4d769e5cf1eda2a428d (diff) |
psql: Remove inappropriate const qualifiers
Since mbvalidate() can alter the string it validates, having the
callers claim that the strings they accept are const is inappropriate.
Diffstat (limited to 'src/bin/psql/print.c')
-rw-r--r-- | src/bin/psql/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index 72bac51ecb0..d2474716dbc 100644 --- a/src/bin/psql/print.c +++ b/src/bin/psql/print.c @@ -2122,7 +2122,7 @@ printTableInit(printTableContent *const content, const printTableOpt *opt, * column. */ void -printTableAddHeader(printTableContent *const content, const char *header, +printTableAddHeader(printTableContent *const content, char *header, const bool translate, const char align) { #ifndef ENABLE_NLS @@ -2162,7 +2162,7 @@ printTableAddHeader(printTableContent *const content, const char *header, * Note: Automatic freeing of translatable strings is not supported. */ void -printTableAddCell(printTableContent *const content, const char *cell, +printTableAddCell(printTableContent *const content, char *cell, const bool translate, const bool mustfree) { #ifndef ENABLE_NLS |