gets-chk.c: Declare prototype for gets in C11 mode.
2015-01-22 Matthias Klose <doko@ubuntu.com> * gets-chk.c: Declare prototype for gets in C11 mode. From-SVN: r220018
This commit is contained in:
parent
4c8932dc49
commit
85a1e6370b
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2015-01-22 Matthias Klose <doko@ubuntu.com>
|
||||
|
||||
* gets-chk.c: Declare prototype for gets in C11 mode.
|
||||
|
||||
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR bootstrap/63784
|
||||
|
|
|
@ -51,6 +51,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
|||
# include <string.h>
|
||||
#endif
|
||||
|
||||
#if !(!defined __USE_ISOC11 \
|
||||
|| (defined __cplusplus && __cplusplus <= 201103L))
|
||||
extern char *gets (char *);
|
||||
#endif
|
||||
|
||||
extern void __chk_fail (void) __attribute__((__noreturn__));
|
||||
|
||||
char *
|
||||
|
|
Loading…
Add table
Reference in a new issue