about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-16 22:39:07 -0400
committerMike Frysinger <vapier@gentoo.org>2012-04-27 23:09:13 -0400
commit16aca1f7711898a516c63b78528d33afa46213a2 (patch)
treed0025761112c9a5c7a332b67a783cffc2ec27619
parent421ff1c38d42f98a9a0922991c57639d66dbf144 (diff)
downloadglibc-16aca1f7711898a516c63b78528d33afa46213a2.tar.gz
glibc-16aca1f7711898a516c63b78528d33afa46213a2.tar.xz
glibc-16aca1f7711898a516c63b78528d33afa46213a2.zip
ia64: drop __STDC__ handlings
The main tree dropped support for !__STDC__ code, so drop it from the
few places in the ia64 code too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--ChangeLog.ia646
-rw-r--r--sysdeps/ia64/fpu/s_matherrf.c13
-rw-r--r--sysdeps/ia64/fpu/s_matherrl.c13
-rw-r--r--sysdeps/unix/sysv/linux/ia64/sysdep.h9
4 files changed, 14 insertions, 27 deletions
diff --git a/ChangeLog.ia64 b/ChangeLog.ia64
index 3d7abe5a85..83ae6bf57d 100644
--- a/ChangeLog.ia64
+++ b/ChangeLog.ia64
@@ -1,5 +1,11 @@
 2012-04-27  Mike Frysinger  <vapier@gentoo.org>
 
+	* sysdeps/ia64/fpu/s_matherrf.c: Delete __STDC__.
+	* sysdeps/ia64/fpu/s_matherrl.c,
+	sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
+
+2012-04-27  Mike Frysinger  <vapier@gentoo.org>
+
 	* sysdeps/ia64/fpu/e_rem_pio2l.c: New file.
 
 2012-04-27  Mike Frysinger  <vapier@gentoo.org>
diff --git a/sysdeps/ia64/fpu/s_matherrf.c b/sysdeps/ia64/fpu/s_matherrf.c
index 31f52aa408..a47d4b89a2 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 e0bf638342..6fe92d7739 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 2927634377..ebaec95279 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