diff options
author | Tom Lane | 2005-09-24 17:53:28 +0000 |
---|---|---|
committer | Tom Lane | 2005-09-24 17:53:28 +0000 |
commit | 8889685555e0ae7d5396038be9924ced2d330bd3 (patch) | |
tree | 6dc4bc817e1abfcaaa048c603e7514f456f039f2 /src/bin/psql/mbprint.h | |
parent | 54a8af058e73b452278031b4959bd2fe9be0ba0c (diff) |
Suppress signed-vs-unsigned-char warnings.
Diffstat (limited to 'src/bin/psql/mbprint.h')
-rw-r--r-- | src/bin/psql/mbprint.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/bin/psql/mbprint.h b/src/bin/psql/mbprint.h index 7b1aa054dba..17a8b98ea6b 100644 --- a/src/bin/psql/mbprint.h +++ b/src/bin/psql/mbprint.h @@ -1,13 +1,11 @@ -/* $PostgreSQL: pgsql/src/bin/psql/mbprint.h,v 1.7 2003/11/29 22:40:49 pgsql Exp $ */ +/* $PostgreSQL: pgsql/src/bin/psql/mbprint.h,v 1.8 2005/09/24 17:53:27 tgl Exp $ */ #ifndef MBPRINT_H #define MBPRINT_H #include "mb/pg_wchar.h" -pg_wchar utf2ucs(const unsigned char *c); +extern char *mbvalidate(char *pwcs, int encoding); -unsigned char *mbvalidate(unsigned char *pwcs, int encoding); - -int pg_wcswidth(unsigned char *pwcs, size_t len, int encoding); +extern int pg_wcswidth(const char *pwcs, size_t len, int encoding); #endif /* MBPRINT_H */ |