]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Make it compile.
authorUlrich Drepper <drepper@redhat.com>
Mon, 27 Dec 1999 07:52:32 +0000 (07:52 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 27 Dec 1999 07:52:32 +0000 (07:52 +0000)
sysdeps/unix/sysv/linux/fxstat64.c
sysdeps/unix/sysv/linux/i386/mmap64.S
sysdeps/unix/sysv/linux/lxstat64.c
sysdeps/unix/sysv/linux/xstat64.c

index c7672e9370447e0c94a429ee15a6a90c9dcba291..94be2c23d06cfdd9eca75e7d613e7614688b1c88 100644 (file)
@@ -43,7 +43,7 @@ __fxstat64 (int vers, int fd, struct stat64 *buf)
   int result;
 
 # if defined __NR_fstat64
-  if (! have_no_stat64)
+  if (! __have_no_stat64)
     {
       int saved_errno = errno;
       result = INLINE_SYSCALL (fstat64, 2, fd, buf);
@@ -52,7 +52,7 @@ __fxstat64 (int vers, int fd, struct stat64 *buf)
        return result;
 
       __set_errno (saved_errno);
-      have_no_stat64 = 1;
+      __have_no_stat64 = 1;
     }
 #endif
 
index f30407f0050618ff129302337fea4117d217f39c..5cd480b83f25a24d325c186bb322a2d62ec6bf6e 100644 (file)
@@ -80,12 +80,11 @@ L(einval):
        jmp SYSCALL_ERROR_LABEL
 #endif
 
-#if !defined __NR_mmap2
 
-# ifndef __NR_mmap2
+#ifndef __NR_mmap2
        /* Save registers.  */
        movl %ebx, %edx
-# endif
+#endif
 3:
        cmpl $0, 44(%esp)
        jne L(einval)
@@ -94,9 +93,9 @@ L(einval):
 
        lea 4(%esp), %ebx               /* Address of args is 1st arg.  */
 
-# ifdef __NR_mmap2
+#ifdef __NR_mmap2
        jmp L(do_syscall)
-# else
+#else
 
        /* Do the system call trap.  */
        int $0x80
@@ -115,7 +114,6 @@ L(pseudo_end):
 L(einval):
        movl $-EINVAL, %eax
        jmp SYSCALL_ERROR_LABEL
-# endif
 #endif
 
 PSEUDO_END (__mmap64)
index 3652c51336c078fd3d473b7547a5d961f4e2f7e1..15ac694ee92120e0cd3f62aeeb1c86e5ed6609d0 100644 (file)
@@ -43,7 +43,7 @@ __lxstat64 (int vers, const char *name, struct stat64 *buf)
   int result;
 
 #ifdef __NR_lstat64
-  if (! have_no_stat64)
+  if (! __have_no_stat64)
     {
       int saved_errno = errno;
       result = INLINE_SYSCALL (lstat64, 2, name, buf);
@@ -52,7 +52,7 @@ __lxstat64 (int vers, const char *name, struct stat64 *buf)
        return result;
 
       __set_errno (saved_errno);
-      have_no_stat64 = 1;
+      __have_no_stat64 = 1;
     }
 #endif
 
index 5c1049395383430392d0bce34a15855462fe3922..18cdca668d659ed5751c03bb1935e233d679855d 100644 (file)
@@ -44,7 +44,7 @@ __xstat64 (int vers, const char *name, struct stat64 *buf)
   int result;
 
 #if defined __NR_stat64
-  if (! have_no_stat64)
+  if (! __have_no_stat64)
     {
       int saved_errno = errno;
       result = INLINE_SYSCALL (stat64, 2, name, buf);
@@ -53,7 +53,7 @@ __xstat64 (int vers, const char *name, struct stat64 *buf)
        return result;
 
       __set_errno (saved_errno);
-      have_no_stat64 = 1;
+      __have_no_stat64 = 1;
     }
 #endif