about summary refs log tree commit diff
path: root/libio/ioungetwc.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2006-01-15 17:46:04 +0000
committerAndreas Jaeger <aj@suse.de>2006-01-15 17:46:04 +0000
commit3a12d5258ad0e4a3cec7f63aa54718ba969c05b4 (patch)
tree1ee6c004d13f9b2e81e43e05dde4744c096021c7 /libio/ioungetwc.c
parentf3495a080c2438d40eb044525eded5828275b3c8 (diff)
downloadglibc-3a12d5258ad0e4a3cec7f63aa54718ba969c05b4.tar.gz
glibc-3a12d5258ad0e4a3cec7f63aa54718ba969c05b4.tar.xz
glibc-3a12d5258ad0e4a3cec7f63aa54718ba969c05b4.zip
[BZ #2078, BZ #2079]
Update
2006-01-15  Andreas Jaeger  <aj@suse.de>

	[BZ #2079]
	* libio/fputwc_u.c (fputwc_unlocked): Fix return value.
	* libio/getwc_u.c (__getwc_unlocked): Likewise.
	* libio/wfileops.c (_IO_wdo_write): Likewise.

	[BZ #2078]
	* libio/fputwc.c (fputwc): Use proper type for result.
	* libio/ioungetwc.c (ungetwc): Likewise.
Diffstat (limited to 'libio/ioungetwc.c')
-rw-r--r--libio/ioungetwc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/ioungetwc.c b/libio/ioungetwc.c
index 00d3e965b5..f7b6866617 100644
--- a/libio/ioungetwc.c
+++ b/libio/ioungetwc.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1996, 1997, 1998, 1999, 2001, 2002, 2003
+/* Copyright (C) 1993, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2006
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -34,7 +34,7 @@ ungetwc (c, fp)
      wint_t c;
      _IO_FILE *fp;
 {
-  int result;
+  wint_t result;
   CHECK_FILE (fp, WEOF);
   _IO_acquire_lock (fp);
   _IO_fwide (fp, 1);