* sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo.

(__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.
This commit is contained in:
Richard Henderson 2005-11-26 00:52:45 +00:00
parent fefb4f1113
commit 971a928ce0
3 changed files with 5 additions and 5 deletions

View File

@ -86,6 +86,7 @@
/* Flags for `mremap'. */ /* Flags for `mremap'. */
#ifdef __USE_GNU #ifdef __USE_GNU
# define MREMAP_MAYMOVE 1 # define MREMAP_MAYMOVE 1
# define MREMAP_FIXED 2
#endif #endif
/* Advice to `madvise'. */ /* Advice to `madvise'. */

View 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 (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); result = INTERNAL_SYSCALL (lstat64, err, 2, file, st);
else else
result = INTERNAL_SYSCALL (stat64, err, 2, file, st); 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; return -1;
} }
hidden_def (__xstat) strong_alias (__fxstatat, __fxstatat64);
weak_alias (__xstat, _xstat);
strong_alias (__xstat, __xstat64);
hidden_ver (__xstat, __xstat64)

View File

@ -17,6 +17,8 @@
02111-1307 USA. */ 02111-1307 USA. */
#include <sysdep.h> #include <sysdep.h>
#include <sys/cdefs.h>
#include <stddef.h>
/* /*
* In order to get the hidden arguments for rt_sigaction set up * In order to get the hidden arguments for rt_sigaction set up