};
static int change_dir_owner PARAMS ((const char *dir, uid_t user, gid_t group,
- struct stat *statp));
+ const struct stat *statp));
/* The name the program was run with. */
char *program_name;
static char *username;
/* The name of the group to which ownership of the files is being given. */
-static char *groupname;
+static const char *groupname;
/* The argument to the --reference option. Use the owner and group IDs
of this file. This file must exist. */
Return 0 if successful, 1 if errors occurred. */
static int
-change_dir_owner (const char *dir, uid_t user, gid_t group, struct stat *statp)
+change_dir_owner (const char *dir, uid_t user, gid_t group,
+ const struct stat *statp)
{
char *name_space, *namep;
char *path; /* Full path of each entry to process. */
printf (_("\
Change the owner and/or group of each FILE to OWNER and/or GROUP.\n\
\n\
- -c, --changes be verbose whenever change occurs\n\
+ -c, --changes like verbose but report only when a change is made\n\
--dereference affect the referent of each symbolic link, rather\n\
than the symbolic link itself\n\
-h, --no-dereference affect symbolic links instead of any referenced file\n\
--reference=RFILE use the owner and group of RFILE instead of using\n\
explicit OWNER.GROUP values\n\
-R, --recursive operate on files and directories recursively\n\
- -v, --verbose explain what is being done\n\
+ -v, --verbose output a diagnostic for every file processed\n\
--help display this help and exit\n\
--version output version information and exit\n\
\n\