summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-04 03:03:12 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-04 03:03:12 +0000
commitcd8b7ff9136eb26efc527df2df876c112d91df17 (patch)
tree762be882ce602f05d03f0e29ca3eb223c194461e
parentfaf8ccabe99e05cd815a9f0491b1e0d6fd8387f1 (diff)
downloadglibc-cd8b7ff9136eb26efc527df2df876c112d91df17.tar.gz
glibc-cd8b7ff9136eb26efc527df2df876c112d91df17.tar.xz
glibc-cd8b7ff9136eb26efc527df2df876c112d91df17.zip
Fix typos in last patch.
-rw-r--r--libio/iofclose.c2
-rw-r--r--libio/wfileops.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/libio/iofclose.c b/libio/iofclose.c
index e13a2a3ae9..04da395841 100644
--- a/libio/iofclose.c
+++ b/libio/iofclose.c
@@ -61,7 +61,7 @@ _IO_new_fclose (fp)
 #if _LIBC
       /* This stream has a wide orientation.  This means we have to free
 	 the conversion functions.  */
-      struct _IO_codecvt *cc = &fp->_codecvt;
+      struct _IO_codecvt *cc = fp->_codecvt;
 
       if (cc->__cd_in.__cd.__steps->__shlib_handle != NULL)
 	{
diff --git a/libio/wfileops.c b/libio/wfileops.c
index 9fa91f0399..775690ef27 100644
--- a/libio/wfileops.c
+++ b/libio/wfileops.c
@@ -59,7 +59,7 @@ _IO_wdo_write (fp, data, to_do)
      const wchar_t *data;
      _IO_size_t to_do;
 {
-  struct _IO_codecvt *cc = &fp->_codecvt;
+  struct _IO_codecvt *cc = fp->_codecvt;
 
   if (to_do > 0)
     {
@@ -133,7 +133,7 @@ _IO_wfile_underflow (fp)
   if (fp->_wide_data->_IO_read_ptr < fp->_wide_data->_IO_read_end)
     return *fp->_wide_data->_IO_read_ptr;
 
-  cd = &fp->_codecvt;
+  cd = fp->_codecvt;
 
   /* Maybe there is something left in the external buffer.  */
   if (fp->_IO_read_ptr < fp->_IO_read_end)
@@ -362,7 +362,7 @@ _IO_wfile_sync (fp)
     {
       /* We have to find out how many bytes we have to go back in the
 	 external buffer.  */
-      struct _IO_codecvt *cv = &fp->_codecvt;
+      struct _IO_codecvt *cv = fp->_codecvt;
       _IO_off64_t new_pos;
 
       int clen = (*cv->__codecvt_do_encoding) (cv);
@@ -466,7 +466,7 @@ _IO_wfile_seekoff (fp, offset, dir, mode)
       /* Adjust for read-ahead (bytes is buffer).  To do this we must
          find out which position in the external buffer corresponds to
          the current position in the internal buffer.  */
-      cv = &fp->_codecvt;
+      cv = fp->_codecvt;
       clen = (*cv->__codecvt_do_encoding) (cv);
 
       if (clen > 0)