summaryrefslogtreecommitdiff
path: root/string/string.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 /string/string.h
parentecf0ebfb04f6e31e3ba709521b6955d5f86ff724 (diff)
Fix attributes for fortify functions.
Diffstat (limited to 'string/string.h')
-rw-r--r--string/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/string.h b/string/string.h
index e77714b89f..7bb505fc64 100644
--- a/string/string.h
+++ b/string/string.h
@@ -634,7 +634,7 @@ extern char *basename (const char *__filename) __THROW __nonnull ((1));
# include <bits/string2.h>
# endif
-# if __USE_FORTIFY_LEVEL > 0 && defined __extern_always_inline
+# if __USE_FORTIFY_LEVEL > 0 && defined __fortify_function
/* Functions with security checks. */
# include <bits/string3.h>
# endif