summaryrefslogtreecommitdiff
path: root/src/chown-core.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-07-28 23:38:36 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-07-28 23:38:36 +0000
commitd73c456b2ef9ab350ee10b25e8d9bbc2459f32bb (patch)
treef0a1d8bf0f09a3f0e892217f1f5a09f4bbd2310f /src/chown-core.h
parent5c0ca7ea769b2c4ceb7c1a254440c131e5cc63e0 (diff)
downloadcoreutils-d73c456b2ef9ab350ee10b25e8d9bbc2459f32bb.tar.xz
(chown_files): Return true/false, not 0/-1, since we don't set errno.
Diffstat (limited to 'src/chown-core.h')
-rw-r--r--src/chown-core.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/chown-core.h b/src/chown-core.h
index 3005f83dc..8080dc490 100644
--- a/src/chown-core.h
+++ b/src/chown-core.h
@@ -1,5 +1,6 @@
/* chown-core.h -- types and prototypes shared by chown and chgrp.
- Copyright (C) 2000, 2003 Free Software Foundation.
+
+ Copyright (C) 2000, 2003, 2004 Free Software Foundation.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -77,7 +78,7 @@ gid_to_name (gid_t);
char *
uid_to_name (uid_t);
-int
+bool
chown_files (char **files, int bit_flags,
uid_t uid, gid_t gid,
uid_t required_uid, gid_t required_gid,