This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 2/3] ia64: Remove __STDC__ conditionals.


---
 ChangeLog.ia64                        |    6 ++++++
 sysdeps/ia64/fpu/s_matherrf.c         |   13 +++----------
 sysdeps/ia64/fpu/s_matherrl.c         |   13 +++----------
 sysdeps/unix/sysv/linux/ia64/sysdep.h |    9 ++-------
 4 files changed, 14 insertions(+), 27 deletions(-)

diff --git a/ChangeLog.ia64 b/ChangeLog.ia64
index 5bb0e51..68adff5 100644
--- a/ChangeLog.ia64
+++ b/ChangeLog.ia64
@@ -1,5 +1,11 @@
 2012-04-26  Matt Turner  <mattst88@gmail.com>
 
+	* sysdeps/ia64/fpu/s_matherrf.c: Remove __STDC__ conditionals.
+	* sysdeps/ia64/fpu/s_matherrl.c: Likewise.
+	* sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
+
+2012-04-26  Matt Turner  <mattst88@gmail.com>
+
 	* sysdeps/ia64/bits/fenv.h: Use const instead of __const.
 	* sysdeps/unix/sysv/linux/ia64/swapcontext.c: Likewise.
 
diff --git a/sysdeps/ia64/fpu/s_matherrf.c b/sysdeps/ia64/fpu/s_matherrf.c
index 4b3033e..2ce553c 100644
--- a/sysdeps/ia64/fpu/s_matherrf.c
+++ b/sysdeps/ia64/fpu/s_matherrf.c
@@ -15,16 +15,9 @@
 #include "math_private.h"
 #include "libm_support.h"
 
-#ifdef __STDC__
-	int
-	weak_function
-	 __matherrf(struct exceptionf *x)
-#else
-	int
-	weak_function
-	__matherrf(x)
-	struct exceptionf *x;
-#endif
+int
+weak_function
+ __matherrf(struct exceptionf *x)
 {
 	int n=0;
 	if(x->arg1!=x->arg1) return 0;
diff --git a/sysdeps/ia64/fpu/s_matherrl.c b/sysdeps/ia64/fpu/s_matherrl.c
index 751cc6b..eb61503 100644
--- a/sysdeps/ia64/fpu/s_matherrl.c
+++ b/sysdeps/ia64/fpu/s_matherrl.c
@@ -15,16 +15,9 @@
 #include "math_private.h"
 #include "libm_support.h"
 
-#ifdef __STDC__
-	int
-	weak_function
-	 __matherrl(struct exceptionl *x)
-#else
-	int
-	weak_function
-	__matherrl(x)
-	struct exceptionl *x;
-#endif
+int
+weak_function
+ __matherrl(struct exceptionl *x)
 {
 	int n=0;
 	if(x->arg1!=x->arg1) return 0;
diff --git a/sysdeps/unix/sysv/linux/ia64/sysdep.h b/sysdeps/unix/sysv/linux/ia64/sysdep.h
index 2927634..ebaec95 100644
--- a/sysdeps/unix/sysv/linux/ia64/sysdep.h
+++ b/sysdeps/unix/sysv/linux/ia64/sysdep.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005, 2006
-   Free Software Foundation, Inc.
+/* Copyright (C) 1999-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Written by Jes Sorensen, <Jes.Sorensen@cern.ch>, April 1999.
    Based on code originally written by David Mosberger-Tang
@@ -38,11 +37,7 @@
    of the kernel.  But these symbols do not follow the SYS_* syntax
    so we have to redefine the `SYS_ify' macro here.  */
 #undef SYS_ify
-#ifdef __STDC__
-# define SYS_ify(syscall_name)	__NR_##syscall_name
-#else
-# define SYS_ify(syscall_name)	__NR_/**/syscall_name
-#endif
+#define SYS_ify(syscall_name)	__NR_##syscall_name
 
 /* This is a kludge to make syscalls.list find these under the names
    pread and pwrite, since some kernel headers define those names
-- 
1.7.3.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]