aboutsummaryrefslogtreecommitdiff
path: root/libio/memstream.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-05 10:54:16 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-05 10:54:16 +0000
commit58845a7030dfca1812db98099cd7954c7449bac2 (patch)
treee6cdcda157e52b49d33b62c736aeabba3900db81 /libio/memstream.c
parentafdca0f2a3a18fb0dcfc334c205e0fb96e90e839 (diff)
downloadglibc-58845a7030dfca1812db98099cd7954c7449bac2.zip
glibc-58845a7030dfca1812db98099cd7954c7449bac2.tar.gz
glibc-58845a7030dfca1812db98099cd7954c7449bac2.tar.bz2
Update.
* 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.
Diffstat (limited to 'libio/memstream.c')
-rw-r--r--libio/memstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/memstream.c b/libio/memstream.c
index 8519832..8c12804 100644
--- a/libio/memstream.c
+++ b/libio/memstream.c
@@ -86,7 +86,7 @@ open_memstream (bufloc, sizeloc)
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;