X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffchmodat.c;h=18fc4df3106000ff147ab9e6d4e5799163471054;hb=d3042e83ace41dcd72fdf8d5173ddf55ac645459;hp=55ae618365f6dc622681f95614bbbd3e07315364;hpb=41861b05c9192bf7cd65af0530d1097d0099b84f;p=gnulib.git diff --git a/lib/fchmodat.c b/lib/fchmodat.c index 55ae61836..18fc4df31 100644 --- a/lib/fchmodat.c +++ b/lib/fchmodat.c @@ -1,5 +1,5 @@ /* Change the protections of file relative to an open directory. - Copyright (C) 2006, 2009 Free Software Foundation, Inc. + Copyright (C) 2006, 2009-2011 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 @@ -27,7 +27,12 @@ system-supplied declaration. */ # undef lchmod # define lchmod lchmod_rpl -static int lchmod (char const *f, mode_t m) { errno = ENOSYS; return -1; } +static int +lchmod (char const *f _GL_UNUSED, mode_t m _GL_UNUSED) +{ + errno = ENOSYS; + return -1; +} #endif /* Solaris 10 has no function like this.