X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fsymlink.c;h=2896cc9655b3e5ad64d079185563da85a987a366;hb=6e33eaed1cd5ddcdfc48476059012fed68f71f8e;hp=89ddddb6fce1f3742d63bab142340cd57efb3ac7;hpb=d9d5054ceb34c7e5b1dc64e5477ac6f89969a423;p=gnulib.git diff --git a/lib/symlink.c b/lib/symlink.c index 89ddddb6f..2896cc965 100644 --- a/lib/symlink.c +++ b/lib/symlink.c @@ -1,5 +1,5 @@ /* Stub for symlink(). - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 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 @@ -37,7 +37,7 @@ rpl_symlink (char const *contents, char const *name) { struct stat st; if (lstat (name, &st) == 0) - errno = EEXIST; + errno = EEXIST; return -1; } return symlink (contents, name); @@ -47,8 +47,8 @@ rpl_symlink (char const *contents, char const *name) /* The system does not support symlinks. */ int -symlink (char const *contents _UNUSED_PARAMETER_, - char const *name _UNUSED_PARAMETER_) +symlink (char const *contents _GL_UNUSED, + char const *name _GL_UNUSED) { errno = ENOSYS; return -1;