From 08a0d60a9bc07a64b50f70160a633be938180595 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 16 Jul 1998 13:49:59 +0000 Subject: Update. 1998-07-16 13:44 Ulrich Drepper * 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. --- sysdeps/generic/abort.c | 1 + sysdeps/unix/sysv/linux/bits/errno.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'sysdeps') 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 # 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. */ -- cgit 1.4.1