]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include "dev-ino.h".
authorJim Meyering <jim@meyering.net>
Sun, 9 Nov 2003 20:47:15 +0000 (20:47 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 9 Nov 2003 20:47:15 +0000 (20:47 +0000)
(struct Chown_option): Add new member: root_dev_ino.

src/chown-core.h

index 0761b383bd3884a30368db4e1e6a44941173f248..3005f83dc3465e6300390052b5fd0f36369849f6 100644 (file)
@@ -18,6 +18,8 @@
 #ifndef CHOWN_CORE_H
 # define CHOWN_CORE_H
 
+# include "dev-ino.h"
+
 enum Change_status
 {
   CH_NOT_APPLIED = 1,
@@ -46,6 +48,10 @@ struct Chown_option
   /* If nonzero, change the ownership of directories recursively. */
   bool recurse;
 
+  /* Pointer to the device and inode numbers of `/', when --recursive.
+     Need not be freed.  Otherwise NULL.  */
+  struct dev_ino *root_dev_ino;
+
   /* This corresponds to the --dereference (opposite of -h) option.  */
   bool affect_symlink_referent;