]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libssp/gets-chk.c
[Ada] Improved support for aspect alignment in CCG
[thirdparty/gcc.git] / libssp / gets-chk.c
index 053c4462647053c854bc9163c8734fe74ee780e8..4ad78c1f77b5331aa222c0ce166d7fdca247840c 100644 (file)
@@ -1,5 +1,5 @@
 /* Checking gets.
-   Copyright (C) 2005, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2020 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -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 *