From: Jim Meyering Date: Fri, 31 Aug 2001 06:50:44 +0000 (+0000) Subject: * src/remove.c: Move true/false definitions and include from here... X-Git-Tag: TEXTUTILS-2_0_15~257 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd90d8dbf8895a27814b6d0349b93f9a6a31b495;p=thirdparty%2Fcoreutils.git * src/remove.c: Move true/false definitions and include from here... * src/system.h: ...to here. --- diff --git a/src/remove.c b/src/remove.c index 49fa8acc10..9b887021d9 100644 --- a/src/remove.c +++ b/src/remove.c @@ -26,12 +26,6 @@ #include #include -#if HAVE_STDBOOL_H -# include -#else -typedef enum {false = 0, true = 1} bool; -#endif - #include "save-cwd.h" #include "system.h" #include "dirname.h" diff --git a/src/system.h b/src/system.h index 582fd7c514..95c6324b3c 100644 --- a/src/system.h +++ b/src/system.h @@ -1,5 +1,5 @@ /* system-dependent definitions for fileutils, textutils, and sh-utils packages. - Copyright (C) 1989, 1991-2000 Free Software Foundation, Inc. + Copyright (C) 1989, 1991-2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -116,6 +116,12 @@ struct utimbuf extern int errno; #endif +#if HAVE_STDBOOL_H +# include +#else +typedef enum {false = 0, true = 1} bool; +#endif + #if HAVE_STDLIB_H # define getopt system_getopt # include