Skip to content
Snippets Groups Projects
Commit 85a1e637 authored by Matthias Klose's avatar Matthias Klose Committed by Matthias Klose
Browse files

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
parent 4c8932dc
No related branches found
No related tags found
No related merge requests found
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> 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/63784 PR bootstrap/63784
......
...@@ -51,6 +51,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ...@@ -51,6 +51,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
# include <string.h> # include <string.h>
#endif #endif
#if !(!defined __USE_ISOC11 \
|| (defined __cplusplus && __cplusplus <= 201103L))
extern char *gets (char *);
#endif
extern void __chk_fail (void) __attribute__((__noreturn__)); extern void __chk_fail (void) __attribute__((__noreturn__));
char * char *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment