diff options
author | Magnus Hagander | 2008-05-21 16:00:10 +0000 |
---|---|---|
committer | Magnus Hagander | 2008-05-21 16:00:10 +0000 |
commit | c388a26e194b77e0392da697bf6f4f8d60f9afd2 (patch) | |
tree | abfbff9ce007bc86a41d99e4db53d681bff4c259 | |
parent | 7de0057a37e3025a51a9aea935eb08d0a45e378c (diff) |
Fix function headers not matching prototype in header file, per
compiler warnings on msvc.
-rw-r--r-- | src/bin/psql/print.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index efcc33c1fe..a4bb03f045 100644 --- a/src/bin/psql/print.c +++ b/src/bin/psql/print.c @@ -1978,7 +1978,7 @@ ClosePager(FILE *pagerpipe) */ void printTableInit(printTableContent *const content, const printTableOpt *opt, - const char *title, int ncolumns, int nrows) + const char *title, const int ncolumns, const int nrows) { content->opt = opt; content->title = title; @@ -2016,7 +2016,7 @@ printTableInit(printTableContent *const content, const printTableOpt *opt, */ void printTableAddHeader(printTableContent *const content, const char *header, - bool translate, char align) + const bool translate, const char align) { #ifndef ENABLE_NLS (void) translate; /* unused parameter */ @@ -2053,7 +2053,7 @@ printTableAddHeader(printTableContent *const content, const char *header, */ void printTableAddCell(printTableContent *const content, const char *cell, - bool translate) + const bool translate) { #ifndef ENABLE_NLS (void) translate; /* unused parameter */ @@ -2133,7 +2133,7 @@ printTableSetFooter(printTableContent *const content, const char *footer) * printTableInit() again. */ void -printTableCleanup(printTableContent *content) +printTableCleanup(printTableContent *const content) { free(content->headers); free(content->cells); |