diff options
Diffstat (limited to 'src/chown-core.h')
-rw-r--r-- | src/chown-core.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/chown-core.h b/src/chown-core.h index 1c83cfc..c778aeb 100644 --- a/src/chown-core.h +++ b/src/chown-core.h @@ -1,11 +1,11 @@ /* chown-core.h -- types and prototypes shared by chown and chgrp. - Copyright (C) 2000, 2003, 2004 Free Software Foundation. + Copyright (C) 2000-2016 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify + 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 - the Free Software Foundation; either version 2, or (at your option) - any later version. + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef CHOWN_CORE_H # define CHOWN_CORE_H @@ -49,7 +48,7 @@ struct Chown_option /* If nonzero, change the ownership of directories recursively. */ bool recurse; - /* Pointer to the device and inode numbers of `/', when --recursive. + /* Pointer to the device and inode numbers of '/', when --recursive. Need not be freed. Otherwise NULL. */ struct dev_ino *root_dev_ino; @@ -69,19 +68,19 @@ struct Chown_option void chopt_init (struct Chown_option *); -void +void _GL_ATTRIBUTE_PURE _GL_ATTRIBUTE_CONST chopt_free (struct Chown_option *); char * gid_to_name (gid_t); -char * +char * _GL_ATTRIBUTE_PURE uid_to_name (uid_t); bool chown_files (char **files, int bit_flags, - uid_t uid, gid_t gid, - uid_t required_uid, gid_t required_gid, - struct Chown_option const *chopt); + uid_t uid, gid_t gid, + uid_t required_uid, gid_t required_gid, + struct Chown_option const *chopt); #endif /* CHOWN_CORE_H */ |