diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-09-11 21:54:32 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-09-11 21:54:32 +0300 |
commit | 1b81c2fe6ee2b26d37610c3d381a87fa17af0a7c (patch) | |
tree | 09075f19d47fd81df20beb96e27e0f21ad2a0729 /src/bin/psql/mbprint.h | |
parent | 02bca4f35164dd1873eab9b8e6167e42a79157c4 (diff) | |
download | postgresql-1b81c2fe6ee2b26d37610c3d381a87fa17af0a7c.tar.gz postgresql-1b81c2fe6ee2b26d37610c3d381a87fa17af0a7c.zip |
Remove many -Wcast-qual warnings
This addresses only those cases that are easy to fix by adding or
moving a const qualifier or removing an unnecessary cast. There are
many more complicated cases remaining.
Diffstat (limited to 'src/bin/psql/mbprint.h')
-rw-r--r-- | src/bin/psql/mbprint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/mbprint.h b/src/bin/psql/mbprint.h index f729ef045c7..83050ffcd7e 100644 --- a/src/bin/psql/mbprint.h +++ b/src/bin/psql/mbprint.h @@ -11,8 +11,8 @@ struct lineptr extern unsigned char *mbvalidate(unsigned char *pwcs, int encoding); extern int pg_wcswidth(const unsigned char *pwcs, size_t len, int encoding); -extern void pg_wcsformat(unsigned char *pwcs, size_t len, int encoding, struct lineptr * lines, int count); -extern void pg_wcssize(unsigned char *pwcs, size_t len, int encoding, +extern void pg_wcsformat(const unsigned char *pwcs, size_t len, int encoding, struct lineptr * lines, int count); +extern void pg_wcssize(const unsigned char *pwcs, size_t len, int encoding, int *width, int *height, int *format_size); #endif /* MBPRINT_H */ |