mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 06:50:07 +00:00
alpha: Remove __STDC__ conditionals.
This commit is contained in:
parent
24d6e175c2
commit
4ca39b2a40
@ -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.
|
||||
|
@ -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,7 +26,6 @@
|
||||
# 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;
|
||||
@ -35,13 +33,6 @@ 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. */
|
||||
typedef double float_t;
|
||||
typedef double double_t;
|
||||
|
@ -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; \
|
||||
|
@ -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 some aliases to make automatic syscall generation work
|
||||
properly. The SYS_* variants are for the benefit of the files in
|
||||
|
Loading…
Reference in New Issue
Block a user