summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-16 13:49:59 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-16 13:49:59 +0000
commit08a0d60a9bc07a64b50f70160a633be938180595 (patch)
tree708125be3373f0c9901db0f2aaa0ce647ca97450 /sysdeps
parent50304ef0572fb41ba853262046dc7594f6a15241 (diff)
downloadglibc-08a0d60a9bc07a64b50f70160a633be938180595.tar.gz
glibc-08a0d60a9bc07a64b50f70160a633be938180595.tar.xz
glibc-08a0d60a9bc07a64b50f70160a633be938180595.zip
Update.
1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>

	* argp/argp-fmtstream.c: Fix warnings introduced in last change.
	* assert/assert-perr.c: Likewise.
	* assert/assert.c: Likewise.
	* gconv_conf.c: Likewise.
	* libio/iofputs_u.c: Likewise.
	* malloc/mtrace.c: Likewise.
	* malloc/obstack.c: Likewise.
	* misc/error.c: Likewise.
	* misc/syslog.c: Likewise.
	* stdio-common/asprintf.c: Likewise.
	* stdio-common/dprintf.c: Likewise.
	* stdio-common/getw.c: Likewise.
	* stdio-common/putw.c: Likewise.
	* stdio-common/snprintf.c: Likewise.
	* stdio-common/sprintf.c: Likewise.
	* stdio-common/sscanf.c: Likewise.
	* sunrpc/svc_simple.c: Likewise.
	* sysdeps/generic/abort.c: Likewise.

	* rt/aio_cancel.c: Don't define ECANCELED here.
	* sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/abort.c1
-rw-r--r--sysdeps/unix/sysv/linux/bits/errno.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/abort.c b/sysdeps/generic/abort.c
index 91c504607a..e8157dd2e6 100644
--- a/sysdeps/generic/abort.c
+++ b/sysdeps/generic/abort.c
@@ -32,6 +32,7 @@
 #endif
 
 #ifdef USE_IN_LIBIO
+# include <libo/iolibio.h>
 # define fflush(s) _IO_fflush (s)
 #endif
 
diff --git a/sysdeps/unix/sysv/linux/bits/errno.h b/sysdeps/unix/sysv/linux/bits/errno.h
index e3e8b3213d..35bd61109d 100644
--- a/sysdeps/unix/sysv/linux/bits/errno.h
+++ b/sysdeps/unix/sysv/linux/bits/errno.h
@@ -29,7 +29,7 @@
 
 /* Linux also has no ECANCELED error code.  Since it is not used here
    we define it to an invalid value.  */
-# define ECANCELED	(-1)
+# define ECANCELED	125
 
 # ifndef __ASSEMBLER__
 /* We now need a declaration of the `errno' variable.  */