Blame SOURCES/glibc-rh652661.patch

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