Blame SOURCES/glibc-rh652661.patch

b9ba6d
2010-05-20  Andreas Schwab  <schwab@redhat.com>
b9ba6d
b9ba6d
	* sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
b9ba6d
b9ba6d
Index: glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/sys/timex.h
b9ba6d
===================================================================
b9ba6d
--- glibc-2.12-2-gc4ccff1.orig/sysdeps/unix/sysv/linux/sys/timex.h
b9ba6d
+++ glibc-2.12-2-gc4ccff1/sysdeps/unix/sysv/linux/sys/timex.h
b9ba6d
@@ -140,9 +140,9 @@ __BEGIN_DECLS
b9ba6d
 extern int __adjtimex (struct timex *__ntx) __THROW;
b9ba6d
 extern int adjtimex (struct timex *__ntx) __THROW;
b9ba6d
 
b9ba6d
-#if defined __GNUC__ && __GNUC__ >= 2
b9ba6d
-extern int ntp_gettime (struct ntptimeval *__ntv)
b9ba6d
-     __asm__ ("ntp_gettimex") __THROW;
b9ba6d
+#ifdef __REDIRECT_NTH
b9ba6d
+extern int __REDIRECT_NTH (ntp_gettime, (struct ntptimeval *__ntv),
b9ba6d
+			   ntp_gettimex);
b9ba6d
 #else
b9ba6d
 extern int ntp_gettimex (struct ntptimeval *__ntv) __THROW;
b9ba6d
 # define ntp_gettime ntp_gettimex