]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-02-21 Ulrich Drepper <drepper@redhat.com>
authorRoland McGrath <roland@gnu.org>
Sat, 26 Feb 2005 00:59:08 +0000 (00:59 +0000)
committerRoland McGrath <roland@gnu.org>
Sat, 26 Feb 2005 00:59:08 +0000 (00:59 +0000)
[BZ #767]
* posix/unistd.h: symlink and readlink are unconditionally
available in the 2001 spec.

posix/unistd.h

index bf66f7543aa81f1d922ca2ceed1ef2546a35ad1d..aa568dc93a9aa1cc4a2841c5e5df03062f92f90d 100644 (file)
@@ -728,7 +728,7 @@ extern int ttyslot (void) __THROW;
 extern int link (__const char *__from, __const char *__to)
      __THROW __nonnull ((1, 2));
 
-#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
+#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K
 /* Make a symbolic link to FROM named TO.  */
 extern int symlink (__const char *__from, __const char *__to)
      __THROW __nonnull ((1, 2));