]> sourceware.org Git - glibc.git/commitdiff
* sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo.
authorRichard Henderson <rth@redhat.com>
Sat, 26 Nov 2005 00:52:45 +0000 (00:52 +0000)
committerRichard Henderson <rth@redhat.com>
Sat, 26 Nov 2005 00:52:45 +0000 (00:52 +0000)
        (__fxstatat64): Alias from __fxstatat; remove other cnp errors.
        * sysdeps/unix/sysv/linux/alpha/sigaction.c: Include sys/cdefs.h
        and stddef.h.
        * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MREMAP_FIXED): Define.

sysdeps/unix/sysv/linux/alpha/bits/mman.h
sysdeps/unix/sysv/linux/alpha/fxstatat.c
sysdeps/unix/sysv/linux/alpha/sigaction.c

index bb41887479debea385a9b26346b4106c9aa292f2..59574266a497e97a60f4468014c2bf424c3e33b4 100644 (file)
@@ -86,6 +86,7 @@
 /* Flags for `mremap'.  */
 #ifdef __USE_GNU
 # define MREMAP_MAYMOVE        1
+# define MREMAP_FIXED  2
 #endif
 
 /* Advice to `madvise'.  */
index 65b7ad97a32b5b45cecc8ebd4f68865cd539737f..127f7f3c5761887dc14909f037f7e2c2e0c4bce9 100644 (file)
@@ -67,7 +67,7 @@ __fxstatat (int vers, int fd, const char *file, struct stat *st, int flag)
 
   if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64)
     {
-      if (flags & AT_SYMLINK_NOFOLLOW)
+      if (flag & AT_SYMLINK_NOFOLLOW)
        result = INTERNAL_SYSCALL (lstat64, err, 2, file, st);
       else
        result = INTERNAL_SYSCALL (stat64, err, 2, file, st);
@@ -94,7 +94,4 @@ __fxstatat (int vers, int fd, const char *file, struct stat *st, int flag)
 
   return -1;
 }
-hidden_def (__xstat)
-weak_alias (__xstat, _xstat);
-strong_alias (__xstat, __xstat64);
-hidden_ver (__xstat, __xstat64)
+strong_alias (__fxstatat, __fxstatat64);
index 21a2063c30b98cf7d9c4ed2592afdc8c6d67767f..26b081d9a3720c7d11b34a0359ac18d871a41163 100644 (file)
@@ -17,6 +17,8 @@
    02111-1307 USA.  */
 
 #include <sysdep.h>
+#include <sys/cdefs.h>
+#include <stddef.h>
 
 /*
  * In order to get the hidden arguments for rt_sigaction set up
This page took 0.044161 seconds and 5 git commands to generate.