diff options
Diffstat (limited to 'src/bin/psql/mbprint.c')
-rw-r--r-- | src/bin/psql/mbprint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/psql/mbprint.c b/src/bin/psql/mbprint.c index 4c33688e09a..2999d56ef6f 100644 --- a/src/bin/psql/mbprint.c +++ b/src/bin/psql/mbprint.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2009, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/mbprint.c,v 1.35 2009/06/11 14:49:08 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/mbprint.c,v 1.36 2009/10/13 21:04:01 tgl Exp $ * * XXX this file does not really belong in psql/. Perhaps move to libpq? * It also seems that the mbvalidate function is redundant with existing @@ -30,8 +30,8 @@ typedef unsigned int pg_wchar; -static int -get_utf8_id(void) +int +pg_get_utf8_id(void) { static int utf8_id = -1; @@ -40,7 +40,7 @@ get_utf8_id(void) return utf8_id; } -#define PG_UTF8 get_utf8_id() +#define PG_UTF8 pg_get_utf8_id() static pg_wchar |