1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Fix attributes for fortify functions.

This commit is contained in:
Marek Polacek
2012-04-29 15:34:20 +02:00
parent ecf0ebfb04
commit 5ac3ea17df
27 changed files with 148 additions and 117 deletions

View File

@ -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)