diff options
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 */ |