summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-11-09 20:47:54 +0000
committerJim Meyering <jim@meyering.net>2003-11-09 20:47:54 +0000
commit237a5c25717a1d9376439f779d82e298747e6782 (patch)
tree490fc9e684fdd171e1767b0d34fc53feb886defa /src
parent7cebcfb5655096286b125dd9fd6fc8b31549def7 (diff)
downloadcoreutils-237a5c25717a1d9376439f779d82e298747e6782.tar.xz
Include "dev-ino.h".
(struct rm_options): Add new member: root_dev_ino.
Diffstat (limited to 'src')
-rw-r--r--src/remove.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/remove.h b/src/remove.h
index beaac27fd..e4b7aad7e 100644
--- a/src/remove.h
+++ b/src/remove.h
@@ -1,6 +1,8 @@
#ifndef REMOVE_H
# define REMOVE_H
+# include "dev-ino.h"
+
struct rm_options
{
/* If nonzero, ignore nonexistent files. */
@@ -12,6 +14,10 @@ struct rm_options
/* If nonzero, recursively remove directories. */
int recursive;
+ /* Pointer to the device and inode numbers of `/', when --recursive.
+ Otherwise NULL. */
+ struct dev_ino *root_dev_ino;
+
/* If nonzero, stdin is a tty. */
int stdin_tty;