]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* src/remove.c: Move true/false definitions and include from here...
authorJim Meyering <jim@meyering.net>
Fri, 31 Aug 2001 06:50:44 +0000 (06:50 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 31 Aug 2001 06:50:44 +0000 (06:50 +0000)
* src/system.h: ...to here.

src/remove.c
src/system.h

index 49fa8acc10e148e1e79f7c66970de5d9c1260660..9b887021d99aa6ad820fb747fa7cb944cbfeda4e 100644 (file)
 #include <sys/types.h>
 #include <assert.h>
 
-#if HAVE_STDBOOL_H
-# include <stdbool.h>
-#else
-typedef enum {false = 0, true = 1} bool;
-#endif
-
 #include "save-cwd.h"
 #include "system.h"
 #include "dirname.h"
index 582fd7c514cbd6c645f7b2776d9092e7b98209e2..95c6324b3c6617c394eeb38936754bc214a4bdce 100644 (file)
@@ -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 <stdbool.h>
+#else
+typedef enum {false = 0, true = 1} bool;
+#endif
+
 #if HAVE_STDLIB_H
 # define getopt system_getopt
 # include <stdlib.h>