diff options
Diffstat (limited to 'gnulib/import/chown.c')
-rw-r--r-- | gnulib/import/chown.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gnulib/import/chown.c b/gnulib/import/chown.c index 9b8b361..705ca85 100644 --- a/gnulib/import/chown.c +++ b/gnulib/import/chown.c @@ -1,19 +1,19 @@ /* provide consistent interface to chown for systems that don't interpret an ID of -1 as meaning "don't change the corresponding ID". - Copyright (C) 1997, 2004-2007, 2009-2021 Free Software Foundation, Inc. + Copyright (C) 1997, 2004-2007, 2009-2022 Free Software Foundation, Inc. - 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 3 of the License, or - (at your option) any later version. + This file is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. - This program is distributed in the hope that it will be useful, + This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + GNU Lesser General Public License for more details. - You should have received a copy of the GNU General Public License + You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. */ /* written by Jim Meyering */ @@ -33,8 +33,8 @@ /* Simple stub that always fails with ENOSYS, for mingw. */ int -chown (const char *file _GL_UNUSED, uid_t uid _GL_UNUSED, - gid_t gid _GL_UNUSED) +chown (_GL_UNUSED const char *file, _GL_UNUSED uid_t uid, + _GL_UNUSED gid_t gid) { errno = ENOSYS; return -1; |