summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-04 09:53:20 +0000
committerJim Meyering <jim@meyering.net>2003-01-04 09:53:20 +0000
commite2b894c771ef46729aeffa0bd05d16e1bfb731f5 (patch)
tree90ec4d5aca56edb40b5efcb561542f991c234aa4 /src
parenta3e6d3aa63ef885e69e9a8835c5a138666ba0a49 (diff)
downloadcoreutils-e2b894c771ef46729aeffa0bd05d16e1bfb731f5.tar.xz
(struct dev_ino): Remove declaration.
Diffstat (limited to 'src')
-rw-r--r--src/remove.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/remove.h b/src/remove.h
index 4fe56d2de..a02c35810 100644
--- a/src/remove.h
+++ b/src/remove.h
@@ -1,4 +1,5 @@
-#include "save-cwd.h"
+#ifndef REMOVE_H
+# define REMOVE_H
struct rm_options
{
@@ -32,10 +33,10 @@ enum RM_status
RM_NONEMPTY_DIR
};
-#define VALID_STATUS(S) \
+# define VALID_STATUS(S) \
((S) == RM_OK || (S) == RM_USER_DECLINED || (S) == RM_ERROR)
-#define UPDATE_STATUS(S, New_value) \
+# define UPDATE_STATUS(S, New_value) \
do \
{ \
if ((New_value) == RM_ERROR \
@@ -44,11 +45,7 @@ enum RM_status
} \
while (0)
-struct dev_ino
-{
- ino_t st_ino;
- dev_t st_dev;
-};
-
enum RM_status rm PARAMS ((size_t n_files, char const *const *file,
struct rm_options const *x));
+
+#endif