diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-02-10 15:57:58 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-02-10 15:57:58 +0000 |
| commit | b35fdaaa1a8439b9437190287ed1ed17edf02efd (patch) | |
| tree | a788b3d0aff2bcdba85f22c36825c3720aa5e4b4 /contrib/tsearch2/ts_locale.h | |
| parent | 1a7be5cc7e6873cc4c01e7b13ef7ab1ef53bbc89 (diff) | |
Clean up some signedness warnings.
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 |
