diff options
author | Roland McGrath <roland@gnu.org> | 1995-03-13 03:41:42 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-03-13 03:41:42 +0000 |
commit | 4ca6860994510e83ae70975c669a5dc37f89919a (patch) | |
tree | d765440cc364dfa9f0fee00b5ef137f6632e4b72 /stdlib/mbtowc.c | |
parent | 7782ca54e1a3fc0a583febda9acd08cc63251a59 (diff) | |
download | glibc-4ca6860994510e83ae70975c669a5dc37f89919a.zip glibc-4ca6860994510e83ae70975c669a5dc37f89919a.tar.gz glibc-4ca6860994510e83ae70975c669a5dc37f89919a.tar.bz2 |
#if 0 out code for non-ASCII chars until the locale data format is implemented.
Diffstat (limited to 'stdlib/mbtowc.c')
-rw-r--r-- | stdlib/mbtowc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/stdlib/mbtowc.c b/stdlib/mbtowc.c index 6210340..fd94492 100644 --- a/stdlib/mbtowc.c +++ b/stdlib/mbtowc.c @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <ansidecl.h> -#include <localeinfo.h> +#include "../locale/localeinfo.h" #include <ctype.h> #include <stddef.h> #include <stdio.h> @@ -33,8 +33,10 @@ long int _mb_shift = 0; int DEFUN(mbtowc, (pwc, s, n), wchar_t *pwc AND CONST char *s AND size_t n) { +#if 0 register CONST mb_char *mb; register wchar_t i; +#endif if (s == NULL) return _mb_shift != 0; @@ -51,6 +53,7 @@ DEFUN(mbtowc, (pwc, s, n), wchar_t *pwc AND CONST char *s AND size_t n) return 1; } +#if 0 if (_ctype_info->mbchar == NULL || _ctype_info->mbchar->mb_chars == NULL) return -1; @@ -79,6 +82,7 @@ DEFUN(mbtowc, (pwc, s, n), wchar_t *pwc AND CONST char *s AND size_t n) return mb->len; } } +#endif return -1; } |