summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-03-08 16:46:26 +0000
committerJim Meyering <jim@meyering.net>2002-03-08 16:46:26 +0000
commit29544710c677eee2b25c4d46e1ae0c95b10ce03d (patch)
tree8c5b080c161facf9e5930abb8987a0a78d44323f /src
parent7c38cd6901d2a041251914f8c43c807769058d6d (diff)
downloadcoreutils-29544710c677eee2b25c4d46e1ae0c95b10ce03d.tar.xz
(struct dev_ino): Declare new type.
(rm): Add a parameter to the prototype.
Diffstat (limited to 'src')
-rw-r--r--src/remove.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/remove.h b/src/remove.h
index deb5d628c..c35235fec 100644
--- a/src/remove.h
+++ b/src/remove.h
@@ -44,8 +44,16 @@ struct File_spec
dev_t st_dev;
};
-enum RM_status rm PARAMS ((struct File_spec *fs, int user_specified_name,
- const struct rm_options *x));
+struct dev_ino
+{
+ ino_t st_ino;
+ dev_t st_dev;
+};
+
+enum RM_status rm PARAMS ((struct File_spec *fs,
+ int user_specified_name,
+ struct rm_options const *x,
+ struct dev_ino const *cwd_dev_ino));
void fspec_init_file PARAMS ((struct File_spec *fs, const char *filename));
void remove_init PARAMS ((void));
void remove_fini PARAMS ((void));