alpha: Remove __STDC__ conditionals.

This commit is contained in:
Matt Turner 2012-04-26 22:07:53 -04:00 committed by Richard Henderson
parent 24d6e175c2
commit 4ca39b2a40
4 changed files with 10 additions and 23 deletions

View 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.

View 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
@ -27,19 +26,11 @@
# 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. */

View 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).
@ -32,11 +31,7 @@
#endif
#ifdef __STDC__
#define __LABEL(x) x##:
#else
#define __LABEL(x) x/**/:
#endif
#define LEAF(name, framesize) \
.globl name; \

View 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.
@ -35,11 +34,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
/* Define some aliases to make automatic syscall generation work
properly. The SYS_* variants are for the benefit of the files in