]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
ia64: drop __STDC__ handlings
authorMike Frysinger <vapier@gentoo.org>
Tue, 17 Apr 2012 02:39:07 +0000 (22:39 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 03:09:13 +0000 (23:09 -0400)
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>
ChangeLog.ia64
sysdeps/ia64/fpu/s_matherrf.c
sysdeps/ia64/fpu/s_matherrl.c
sysdeps/unix/sysv/linux/ia64/sysdep.h

index 3d7abe5a85ab9bb934e620d54e4085cd2f67d26a..83ae6bf57ddd78f26ccf9c8f21f65bbbbdb2e1d1 100644 (file)
@@ -1,3 +1,9 @@
+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.
index 31f52aa408f51059b9f6631b225c6abee1137efd..a47d4b89a20db33a57309c87f65b597bc315a7de 100644 (file)
 #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;
index e0bf638342007e9044d3b6daf7c5b731348363f0..6fe92d773906c3918c9508ee541cd3e7328fdebb 100644 (file)
 #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;
index 2927634377e927c0e8a1870e77ee9104b8f560b9..ebaec952799875f5c02371d1253d13e4fa8777c5 100644 (file)
@@ -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
    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