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.
This commit is contained in:
Ulrich Drepper 1998-07-16 13:49:59 +00:00
parent 50304ef057
commit 08a0d60a9b
22 changed files with 45 additions and 6 deletions

View File

@ -1,3 +1,27 @@
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.
1998-07-16 10:23 Ulrich Drepper <drepper@cygnus.com>
* argp/argp-fmtstream.c: Unify names of used global functions.

View File

@ -41,6 +41,7 @@
#endif
#if defined _LIBC && defined USE_IN_LIBIO
# include <libio/libioP.h>
# define __vsnprintf(s, l, f, a) _IO_vsnprintf (s, l, f, a)
#endif

View File

@ -25,6 +25,7 @@
extern const char *__assert_program_name; /* In assert.c. */
#ifdef USE_IN_LIBIO
# include <libo/iolibio.h>
# define fflush(s) _IO_fflush (s)
#endif

View File

@ -25,6 +25,7 @@
const char *__assert_program_name;
#ifdef USE_IN_LIBIO
# include <libo/iolibio.h>
# define fflush(s) _IO_fflush (s)
#endif

2
configure vendored
View File

@ -2279,7 +2279,7 @@ if test $VERSIONING = no; then
*** WARNING: You should not compile GNU libc without versioning. Not using
*** versioning will introduce incompatibilities so that old binaries
*** will not run anymore.
*** For versioning you need recent binutils (binutils-2.8.1.0.17 or newer)."
*** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
fi
if test $elf = yes; then
echo $ac_n "checking for .previous assembler directive""... $ac_c" 1>&6

View File

@ -78,6 +78,7 @@ builtin_aliases[] =
};
#ifdef USE_IN_LIBIO
# include <libio/libioP.h>
# define __getdelim(line, len, c, fp) _IO_getdelim (line, len, c, fp)
#endif

View File

@ -24,6 +24,7 @@
General Public License. */
#include "libioP.h"
#include <stdio.h>
#include <string.h>
int

View File

@ -41,6 +41,7 @@ extern char *getenv ();
#endif
#if defined _LIBC && defined USE_IN_LIBIO
# include <libio/iolibio.h>
# define setvbuf(s, b, f, l) _IO_setvbuf (s, b, f, l)
#endif

View File

@ -460,6 +460,7 @@ _obstack_memory_used (h)
# endif
#endif
#if defined _LIBC && defined USE_IN_LIBIO
# include <libio/iolibio.h>
# define fputs(s, f) _IO_fputs (s, f)
#endif

View File

@ -77,6 +77,7 @@ unsigned int error_message_count;
# define error_at_line __error_at_line
# ifdef USE_IN_LIBIO
# include <libio/iolibio.h>
# define fflush(s) _IO_fflush (s)
# endif

View File

@ -59,6 +59,7 @@ static char sccsid[] = "@(#)syslog.c 8.4 (Berkeley) 3/18/94";
#endif
#ifdef USE_IN_LIBIO
# include <libio/iolibio.h>
# define ftell(s) _IO_ftell (s)
#endif

View File

@ -1,5 +1,5 @@
/* Cancel requests associated with given file descriptor.
Copyright (C) 1997 Free Software Foundation, Inc.
Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@ -34,9 +34,6 @@
#include "aio_misc.h"
/* Argh, so far there is no ECANCELED. */
#define ECANCELED 125
int
aio_cancel (fildes, aiocbp)
int fildes;

View File

@ -20,6 +20,7 @@
#include <stdio.h>
#ifdef USE_IN_LIBIO
# include <libio/libioP.h>
# define vasprintf(s, f, a) _IO_vasprintf (s, f, a)
#endif

View File

@ -20,6 +20,7 @@
#include <stdio.h>
#ifdef USE_IN_LIBIO
# include <libio/libioP.h>
# define vdprintf(d, f, a) _IO_vdprintf (d, f, a)
#endif

View File

@ -19,6 +19,7 @@
#include <stdio.h>
#ifdef USE_IN_LIBIO
# include <libio/iolibio.h>
# define fread(p, m, n, s) _IO_fread (p, m, n, s)
#endif

View File

@ -19,6 +19,7 @@
#include <stdio.h>
#ifdef USE_IN_LIBIO
# include <libio/iolibio.h>
# define fwrite(p, n, m, s) _IO_fwrite (p, n, m, s)
#endif

View File

@ -20,6 +20,7 @@
#include <stdio.h>
#ifdef USE_IN_LIBIO
# include <libio/libioP.h>
# define __vsnprintf(s, l, f, a) _IO_vsnprintf (s, l, f, a)
#endif

View File

@ -20,6 +20,7 @@
#include <stdio.h>
#ifdef USE_IN_LIBIO
# include <libio/iolibio.h>
# define vsprintf(s, f, a) _IO_vsprintf (s, f, a)
#endif

View File

@ -20,6 +20,7 @@
#include <stdio.h>
#ifdef USE_IN_LIBIO
# include <libio/iolibio.h>
# define __vsscanf(s, f, a) _IO_vsscanf (s, f, a)
#endif

View File

@ -46,6 +46,7 @@ static char sccsid[] = "@(#)svc_simple.c 1.18 87/08/11 Copyr 1984 Sun Micro";
#include <netdb.h>
#ifdef USE_IN_LIBIO
# include <libio/iolibio.h>
# define fputs(s, f) _IO_fputs (s, f)
#endif

View File

@ -32,6 +32,7 @@
#endif
#ifdef USE_IN_LIBIO
# include <libo/iolibio.h>
# define fflush(s) _IO_fflush (s)
#endif

View File

@ -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. */