]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_gettimeofday):
authorUlrich Drepper <drepper@redhat.com>
Sat, 15 Dec 2007 01:12:13 +0000 (01:12 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 15 Dec 2007 01:12:13 +0000 (01:12 +0000)
Return long.
(__vdso_clock_gettime): Likewise.

ChangeLog
sysdeps/unix/sysv/linux/x86_64/init-first.c

index dc6d34d5b3596f32f2f5023ee0720b442c1cba12..97b45e1fb253f58fec10cc175aca3c1c9e45ffaf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 
        * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
        First cast argument to long
+       * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_gettimeofday):
+       Return long.
+       (__vdso_clock_gettime): Likewise.
        * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Functions
        return long.
 
index e9cf5646b5245e7151f008f4f724b8780f1b3a79..ead7dbcc38b5306531c2ae361689aa4171b057bd 100644 (file)
@@ -20,9 +20,9 @@
 # include <dl-vdso.h>
 # include <bits/libc-vdso.h>
 
-int (*__vdso_gettimeofday) (struct timeval *, void *) attribute_hidden;
+long int (*__vdso_gettimeofday) (struct timeval *, void *) attribute_hidden;
 
-int (*__vdso_clock_gettime) (clockid_t, struct timespec *)
+long int (*__vdso_clock_gettime) (clockid_t, struct timespec *)
   __attribute__ ((nocommon));
 strong_alias (__vdso_clock_gettime, __GI___vdso_clock_gettime attribute_hidden)