From 3ce1f2959437e952b9db4eaeed2407424f11a4d1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 10 Sep 2011 14:34:15 -0400 Subject: Cleanup of configuration options Make several tool features mandatory and simplify the code. --- stdlib/abort.c | 6 ++---- stdlib/fmtmsg.c | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'stdlib') diff --git a/stdlib/abort.c b/stdlib/abort.c index e9d0ab18fd..3e517570d7 100644 --- a/stdlib/abort.c +++ b/stdlib/abort.c @@ -32,10 +32,8 @@ # define ABORT_INSTRUCTION #endif -#ifdef USE_IN_LIBIO -# include -# define fflush(s) _IO_flush_all_lockp (0) -#endif +#include +#define fflush(s) _IO_flush_all_lockp (0) /* Exported variable to locate abort message in core files etc. */ struct abort_msg_s *__abort_msg __attribute__ ((nocommon)); diff --git a/stdlib/fmtmsg.c b/stdlib/fmtmsg.c index 2a4d16a461..8ee06bfd06 100644 --- a/stdlib/fmtmsg.c +++ b/stdlib/fmtmsg.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997,1999,2000-2003,2005, 2006 Free Software Foundation, Inc. +/* Copyright (C) 1997,1999-2003,2005,2006,2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -23,9 +23,7 @@ #include #include #include -#ifdef USE_IN_LIBIO -# include -#endif +#include /* We have global data, protect the modification. */ -- cgit v1.2.3