diff options
author | Dan Albert | 2014-06-17 18:31:21 -0500 |
---|---|---|
committer | Dan Albert | 2014-06-17 19:37:06 -0500 |
commit | 9635046e53e14ff44348853a9cacdffd444b35ae (patch) | |
tree | 9f2a9c023d1e981cedc9811e25035f82783c092c /libstdc++ | |
parent | 1ef3ba2b4fd2408cdd78828ec2930ce31ce8cee7 (diff) | |
download | platform-bionic-9635046e53e14ff44348853a9cacdffd444b35ae.tar.gz platform-bionic-9635046e53e14ff44348853a9cacdffd444b35ae.tar.xz platform-bionic-9635046e53e14ff44348853a9cacdffd444b35ae.zip |
Hide declaration of gets(3) for C11 and later.
gets(3) was removed from C11.
This reverts commit 1291680c2a0c23b2163198d27e00261ca206298b.
Bug: 14500800
Change-Id: I5e5146bdbb80f2be818a17f287b112bab37d1f6d
Diffstat (limited to 'libstdc++')
-rw-r--r-- | libstdc++/include/cstdio | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++/include/cstdio b/libstdc++/include/cstdio index 3c8b5c62..2948d852 100644 --- a/libstdc++/include/cstdio +++ b/libstdc++/include/cstdio | |||
@@ -63,7 +63,9 @@ using ::ftell; | |||
63 | using ::fwrite; | 63 | using ::fwrite; |
64 | using ::getc; | 64 | using ::getc; |
65 | using ::getchar; | 65 | using ::getchar; |
66 | #if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 201112L | ||
66 | using ::gets; | 67 | using ::gets; |
68 | #endif | ||
67 | using ::perror; | 69 | using ::perror; |
68 | using ::printf; | 70 | using ::printf; |
69 | using ::putc; | 71 | using ::putc; |