mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
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:
committed by
Matthias Klose
parent
4c8932dc49
commit
85a1e6370b
@@ -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 *
|
||||
|
||||
Reference in New Issue
Block a user