aboutsummaryrefslogtreecommitdiff
path: root/include/stdio.h
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2012-04-29 15:34:20 +0200
committerMarek Polacek <polacek@redhat.com>2012-04-29 15:34:20 +0200
commit5ac3ea17df811a71fa64aff78ea1b900facd3364 (patch)
tree47a842e0be1ca4d8c98ecc86d18330d61047560a /include/stdio.h
parentecf0ebfb04f6e31e3ba709521b6955d5f86ff724 (diff)
downloadglibc-5ac3ea17df811a71fa64aff78ea1b900facd3364.tar
glibc-5ac3ea17df811a71fa64aff78ea1b900facd3364.tar.gz
glibc-5ac3ea17df811a71fa64aff78ea1b900facd3364.tar.bz2
glibc-5ac3ea17df811a71fa64aff78ea1b900facd3364.zip
Fix attributes for fortify functions.
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h
index bd0209aaac..a2c73a452d 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -176,7 +176,7 @@ extern char *__REDIRECT (__gets_warn, (char *__str), gets)
__wur __warnattr ("please use fgets or getline instead, gets can't "
"specify buffer size");
-__extern_always_inline __wur char *
+__fortify_function __wur char *
gets (char *__str)
{
if (__bos (__str) != (size_t) -1)