diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/sgtty.h | 4 | ||||
-rw-r--r-- | misc/sys/cdefs.h | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/misc/sgtty.h b/misc/sgtty.h index 86e15b0afc..02bbb18665 100644 --- a/misc/sgtty.h +++ b/misc/sgtty.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1996, 1998 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 @@ -17,7 +17,7 @@ Boston, MA 02111-1307, USA. */ #ifndef _SGTTY_H -#define _SGTYY_H 1 +#define _SGTTY_H 1 #include <features.h> diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index 12dfffb431..964b9dfeb9 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -141,6 +141,16 @@ #endif +/* It is possible to compile containing GCC extensions even if GCC is + run in pedantic mode if the uses are carefully marked using the + `__extension__' keyword. But this is not generally available before + version 2.8. */ +#if !defined __GNUC__ || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) + +# define __extension__ /* Ignore */ + +#endif + /* No current version of gcc knows the `restrict' keyword. Define it for now unconditionally to the empty string. */ #define __restrict |