diff options
Diffstat (limited to 'contrib/tsearch2/ts_locale.h')
-rw-r--r-- | contrib/tsearch2/ts_locale.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tsearch2/ts_locale.h b/contrib/tsearch2/ts_locale.h index 8695b27a0eb..2c0c52b23f9 100644 --- a/contrib/tsearch2/ts_locale.h +++ b/contrib/tsearch2/ts_locale.h @@ -44,9 +44,9 @@ size_t char2wchar(wchar_t *to, const char *from, size_t len); #define t_isdigit(x) ( pg_mblen(x)==1 && isdigit( TOUCHAR(x) ) ) #define t_isspace(x) ( pg_mblen(x)==1 && isspace( TOUCHAR(x) ) ) -int _t_isalpha( char *ptr ); +extern int _t_isalpha( const char *ptr ); #define t_isalpha(x) ( (pg_mblen(x)==1) ? isalpha( TOUCHAR(x) ) : _t_isalpha(x) ) -int _t_isprint( char *ptr ); +extern int _t_isprint( const char *ptr ); #define t_isprint(x) ( (pg_mblen(x)==1) ? isprint( TOUCHAR(x) ) : _t_isprint(x) ) /* * t_iseq() should be called only for ASCII symbols |