aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert2014-06-17 18:31:21 -0500
committerDan Albert2014-06-17 19:37:06 -0500
commit9635046e53e14ff44348853a9cacdffd444b35ae (patch)
tree9f2a9c023d1e981cedc9811e25035f82783c092c /libstdc++
parent1ef3ba2b4fd2408cdd78828ec2930ce31ce8cee7 (diff)
downloadplatform-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/cstdio2
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;
63using ::fwrite; 63using ::fwrite;
64using ::getc; 64using ::getc;
65using ::getchar; 65using ::getchar;
66#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 201112L
66using ::gets; 67using ::gets;
68#endif
67using ::perror; 69using ::perror;
68using ::printf; 70using ::printf;
69using ::putc; 71using ::putc;