X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsymlink.c;h=642ca66b66cd5f21b004092d652d1b668d24ba80;hb=7a719c1772d45a9990560820a78ae76534ae3497;hp=89ddddb6fce1f3742d63bab142340cd57efb3ac7;hpb=d9d5054ceb34c7e5b1dc64e5477ac6f89969a423;p=gnulib.git diff --git a/lib/symlink.c b/lib/symlink.c index 89ddddb6f..642ca66b6 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-2012 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;