]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
alpha: Remove __STDC__ conditionals.
authorMatt Turner <mattst88@gmail.com>
Fri, 27 Apr 2012 02:07:53 +0000 (22:07 -0400)
committerRichard Henderson <rth@twiddle.net>
Fri, 27 Apr 2012 14:33:47 +0000 (07:33 -0700)
ChangeLog.alpha
sysdeps/alpha/bits/mathdef.h
sysdeps/unix/alpha/sysdep.h
sysdeps/unix/sysv/linux/alpha/sysdep.h

index 096fe9af26a08d98f9ad9a719d9422b226434d8f..72eb5afe5d12910862696eeb81fbfcf9f8a3067f 100644 (file)
@@ -1,3 +1,9 @@
+2012-04-26  Matt Turner  <mattst88@gmail.com>
+
+       * sysdeps/alpha/bits/mathdef.h: Remove __STDC__ conditionals.
+       * sysdeps/unix/alpha/sysdep.h: Likewise.
+       * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
+
 2012-04-26  Matt Turner  <mattst88@gmail.com>
 
        * sysdeps/alpha/fpu/bits/fenv.h: Use const instead of __const.
index 7648a9ec400d5a5417d94bc9327bfde8e7c5d4a4..ae0049ade336cae563cf182bd2dd3900e635d5fc 100644 (file)
@@ -1,5 +1,4 @@
-/* Copyright (C) 1997,1998,1999,2000,2003,2004,2006
-       Free Software Foundation, Inc.
+/* Copyright (C) 1997-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 # define _MATH_H_MATHDEF       1
 
 # ifdef __GNUC__
-#  if __STDC__ == 1
 
 /* In GNU or ANSI mode, gcc leaves `float' expressions as-is.  */
 typedef float float_t;
 typedef double double_t;
 
-#  else
-
-/* For `gcc -traditional', `float' expressions are evaluated as `double'. */
-typedef double float_t;
-typedef double double_t;
-
-#  endif
 # else
 
 /* Wild guess at types for float_t and double_t. */
index 4cc88942c8e703ed179c5f76ae14fb714f4adc4f..e17bf211bd3d0e0f4c75f7d3b6d0567311e71ae7 100644 (file)
@@ -1,5 +1,4 @@
-/* Copyright (C) 1992, 1995, 1996, 2000, 2003, 2004, 2006, 2010, 2012
-   Free Software Foundation, Inc.
+/* Copyright (C) 1992-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 #endif
 
 
-#ifdef __STDC__
 #define __LABEL(x)     x##:
-#else
-#define __LABEL(x)     x/**/:
-#endif
 
 #define LEAF(name, framesize)                  \
   .globl name;                                 \
index 7616ba980da89c5241719cbb7159ea25a4bff5c5..329fdbd082ed0c39212a3bee227e7b37a8a811d7 100644 (file)
@@ -1,5 +1,4 @@
-/* Copyright (C) 1992, 1993, 1995, 1996, 1997, 2002, 2003, 2004, 2007
-   Free Software Foundation, Inc.
+/* Copyright (C) 1992-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>, August 1995.
 
    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
 
 /* Define some aliases to make automatic syscall generation work
    properly.  The SYS_* variants are for the benefit of the files in