summaryrefslogtreecommitdiff
path: root/src/bin/psql/print.h
diff options
context:
space:
mode:
authorPeter Eisentraut2012-03-16 18:03:38 +0000
committerPeter Eisentraut2012-03-16 18:35:00 +0000
commit598bb8cdbd9c2554bd8acfc51c9fed473a7d37bc (patch)
tree9a857066aeee564532f577acfa39f0c9bd0b019a /src/bin/psql/print.h
parent359dea2859c63e73c8f3f4d769e5cf1eda2a428d (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.h')
-rw-r--r--src/bin/psql/print.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/print.h b/src/bin/psql/print.h
index 931535e478f..c7377562c50 100644
--- a/src/bin/psql/print.h
+++ b/src/bin/psql/print.h
@@ -162,9 +162,9 @@ extern void printTableInit(printTableContent *const content,
const printTableOpt *opt, const char *title,
const int ncolumns, const int nrows);
extern void printTableAddHeader(printTableContent *const content,
- const char *header, const bool translate, const char align);
+ char *header, const bool translate, const char align);
extern void printTableAddCell(printTableContent *const content,
- const char *cell, const bool translate, const bool mustfree);
+ char *cell, const bool translate, const bool mustfree);
extern void printTableAddFooter(printTableContent *const content,
const char *footer);
extern void printTableSetFooter(printTableContent *const content,