From 29544710c677eee2b25c4d46e1ae0c95b10ce03d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 8 Mar 2002 16:46:26 +0000 Subject: (struct dev_ino): Declare new type. (rm): Add a parameter to the prototype. --- src/remove.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src') 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)); -- cgit v1.2.3-54-g00ecf