* include/wctype.h: Add libc_hidden_proto for __towctrans.
* wctype/towctrans.c: Add libc_hidden_def.
* libio/memstream.c (open_memstream): Use _IO_init with INTUSE.
* posix/regexec.c (transit_state): Remove unused variable
next_state.
* posix/regcomp.c (init_dfa): Use __btowc instead of btowc.
2004-03-05 Ulrich Drepper <drepper@redhat.com>
+ * include/wctype.h: Add libc_hidden_proto for __towctrans.
+ * wctype/towctrans.c: Add libc_hidden_def.
+
+ * libio/memstream.c (open_memstream): Use _IO_init with INTUSE.
+
+ * posix/regexec.c (transit_state): Remove unused variable
+ next_state.
+
+ * posix/regcomp.c (init_dfa): Use __btowc instead of btowc.
+
* sysdeps/generic/ldsodefs.h: Define new structure rtld_global_ro.
Declare _rtld_global_ro and _rtld_local_ro. Move members of
rtld_global structure into the new one if they are modified only
extern __typeof (towlower_l) __towlower_l;
extern __typeof (towupper_l) __towupper_l;
+libc_hidden_proto (__towctrans)
libc_hidden_proto (__iswctype)
libc_hidden_proto (__iswalnum_l)
libc_hidden_proto (__iswalpha_l)
buf = malloc (_IO_BUFSIZ);
if (buf == NULL)
return NULL;
- _IO_init (&new_f->fp._sf._sbf._f, 0);
+ INTUSE(_IO_init) (&new_f->fp._sf._sbf._f, 0);
_IO_JUMPS ((struct _IO_FILE_plus *) &new_f->fp._sf._sbf) = &_IO_mem_jumps;
_IO_str_init_static_internal (&new_f->fp._sf, buf, _IO_BUFSIZ, buf);
new_f->fp._sf._sbf._f._flags &= ~_IO_USER_BUF;
else
for (i = 0, ch = 0; i < BITSET_UINTS; ++i)
for (j = 0; j < UINT_BITS; ++j, ++ch)
- if (btowc (ch) != WEOF)
+ if (__btowc (ch) != WEOF)
dfa->sb_char[i] |= 1 << j;
}
#endif
re_dfastate_t *state;
{
re_dfa_t *const dfa = mctx->dfa;
- re_dfastate_t **trtable, *next_state;
+ re_dfastate_t **trtable;
unsigned char ch;
if (re_string_cur_idx (&mctx->input) + 1 >= mctx->input.bufs_len
}
/* Update the state_log if we need */
-re_dfastate_t *
-merge_state_with_log (err, mctx, next_state)
- reg_errcode_t *err;
- re_match_context_t *mctx;
- re_dfastate_t *next_state;
-{
- re_dfa_t *const dfa = mctx->dfa;
+re_dfastate_t *
+merge_state_with_log (err, mctx, next_state)
+ reg_errcode_t *err;
+ re_match_context_t *mctx;
+ re_dfastate_t *next_state;
+{
+ re_dfa_t *const dfa = mctx->dfa;
int cur_idx = re_string_cur_idx (&mctx->input);
if (cur_idx > mctx->state_log_top)
/* Map wide character using given mapping.
- Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 2000, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
return wctrans_table_lookup ((const char *) desc, wc);
}
+libc_hidden_def (__towctrans)
weak_alias (__towctrans, towctrans)