diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-09-10 14:34:15 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-09-10 14:34:15 -0400 |
commit | 3ce1f2959437e952b9db4eaeed2407424f11a4d1 (patch) | |
tree | db47da854c7d3bfc2c3bce4c6fc8381075ac9ec4 /stdlib | |
parent | 1248c1c41508387ff282b208636737e8cdc9b5b0 (diff) | |
download | glibc-3ce1f2959437e952b9db4eaeed2407424f11a4d1.tar.gz glibc-3ce1f2959437e952b9db4eaeed2407424f11a4d1.tar.xz glibc-3ce1f2959437e952b9db4eaeed2407424f11a4d1.zip |
Cleanup of configuration options
Make several tool features mandatory and simplify the code.
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/abort.c | 6 | ||||
-rw-r--r-- | stdlib/fmtmsg.c | 6 |
2 files changed, 4 insertions, 8 deletions
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 <libio/libioP.h> -# define fflush(s) _IO_flush_all_lockp (0) -#endif +#include <libio/libioP.h> +#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 <drepper@cygnus.com>, 1997. @@ -23,9 +23,7 @@ #include <stdlib.h> #include <string.h> #include <sys/syslog.h> -#ifdef USE_IN_LIBIO -# include <wchar.h> -#endif +#include <wchar.h> /* We have global data, protect the modification. */ |