From 020cc13c3a0782029f408a8164a13a1e5af6d538 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 30 Nov 2002 16:33:55 +0000 Subject: 2002-11-30 Andrew Cagney * exec.c (xfer_memory): Replace boolean with int. * p-exp.y: Use 0 instead of false. * corelow.c (gdb_check_format): Change return type to int from boolean. * utils.c: Don't include or first. --- gdb/utils.c | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'gdb/utils.c') diff --git a/gdb/utils.c b/gdb/utils.c index 06fb593..58af78a 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -20,23 +20,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* FIXME: cagney/2002-02-28: The GDB coding standard indicates that - "defs.h" should be included first. Unfortunatly some systems - (currently Debian GNU/Linux) include the via - and they clash with "bfd.h"'s definiton of true/false. The correct - fix is to remove true/false from "bfd.h", however, until that - happens, hack around it by including "config.h" and - first. */ - -#include "config.h" - -#ifdef HAVE_CURSES_H -#include -#endif -#ifdef HAVE_TERM_H -#include -#endif - #include "defs.h" #include "gdb_assert.h" #include @@ -68,6 +51,13 @@ #include /* For MAXPATHLEN */ +#ifdef HAVE_CURSES_H +#include +#endif +#ifdef HAVE_TERM_H +#include +#endif + #include #ifdef USE_MMALLOC -- cgit v1.1