MIPS: Remove __STDC__ conditionals.

This commit is contained in:
Joseph Myers 2012-01-26 20:53:57 +00:00
parent ad8ae7daff
commit 2aee894935
5 changed files with 15 additions and 24 deletions

View File

@ -1,3 +1,10 @@
2012-01-26 Joseph Myers <joseph@codesourcery.com>
* sysdeps/mips/sys/asm.h: Remove __STDC__ conditionals.
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2012-01-08 Joseph Myers <joseph@codesourcery.com>
* sysdeps/mips/bits/fenv.h: Use const instead of __const.

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1997, 1998, 2002, 2003, 2004, 2005
/* Copyright (C) 1997, 1998, 2002, 2003, 2004, 2005, 2012
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ralf Baechle <ralf@gnu.org>.
@ -24,11 +24,7 @@
#include <sgidefs.h>
#ifndef CAT
# ifdef __STDC__
# define __CAT(str1,str2) str1##str2
# else
# define __CAT(str1,str2) str1/**/str2
# endif
# define __CAT(str1,str2) str1##str2
# define CAT(str1,str2) __CAT(str1,str2)
#endif

View File

@ -1,5 +1,5 @@
/* Copyright (C) 2000, 2002, 2003, 2004, 2005,
2009 Free Software Foundation, Inc.
2009, 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
@ -35,11 +35,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
#ifndef __ASSEMBLER__

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2000, 2002, 2003, 2004, 2005, 2006, 2009
/* Copyright (C) 2000, 2002, 2003, 2004, 2005, 2006, 2009, 2012
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@ -35,11 +35,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
#ifdef __ASSEMBLER__

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2000, 2002, 2003, 2004, 2005, 2006, 2009
/* Copyright (C) 2000, 2002, 2003, 2004, 2005, 2006, 2009, 2012
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@ -35,11 +35,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
#ifdef __ASSEMBLER__