summaryrefslogtreecommitdiff
path: root/src/chown-core.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-01-20 10:55:18 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-01-20 10:55:18 +0000
commit70e9163c9c18e995515598085cb824e554eb7ae7 (patch)
treea42dc8b2a6c031354bf31472de888bfc8a060132 /src/chown-core.h
parentcbf5993c43f49281173f185863577d86bfac6eae (diff)
downloadcoreutils-tarball-master.tar.gz
Diffstat (limited to 'src/chown-core.h')
-rw-r--r--src/chown-core.h23
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 */