summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorSteven Barth2015-06-24 20:13:37 +0200
committersin2015-06-25 10:18:26 +0100
commit7fd984fcb532be01f68cddc194c09a7ca10c1ea6 (patch)
tree03b23a8bb2d9e1c86ff22e406263ceab35973843 /include/string.h
parent0825063aa6725f8ddf6661ead3263072d630870c (diff)
Add __extension__ mark to include_next to silence -pedantic
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to '')
-rw-r--r--include/string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h
index 98bfea1..a4072d6 100644
--- a/include/string.h
+++ b/include/string.h
@@ -16,6 +16,7 @@
16#ifndef _FORTIFY_STRING_H 16#ifndef _FORTIFY_STRING_H
17#define _FORTIFY_STRING_H 17#define _FORTIFY_STRING_H
18 18
19__extension__
19#include_next <string.h> 20#include_next <string.h>
20 21
21#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 22#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0