summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteven Barth2015-06-24 20:13:37 +0200
committersin2015-06-25 10:18:26 +0100
commit7fd984fcb532be01f68cddc194c09a7ca10c1ea6 (patch)
tree03b23a8bb2d9e1c86ff22e406263ceab35973843 /include
parent0825063aa6725f8ddf6661ead3263072d630870c (diff)
Add __extension__ mark to include_next to silence -pedantic
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'include')
-rw-r--r--include/poll.h1
-rw-r--r--include/stdio.h1
-rw-r--r--include/stdlib.h2
-rw-r--r--include/string.h1
-rw-r--r--include/sys/select.h1
-rw-r--r--include/sys/socket.h1
-rw-r--r--include/unistd.h1
-rw-r--r--include/wchar.h2
8 files changed, 10 insertions, 0 deletions
diff --git a/include/poll.h b/include/poll.h
index d9b602c..9e1d99a 100644
--- a/include/poll.h
+++ b/include/poll.h
@@ -16,6 +16,7 @@
16#ifndef _FORTIFY_POLL_H 16#ifndef _FORTIFY_POLL_H
17#define _FORTIFY_POLL_H 17#define _FORTIFY_POLL_H
18 18
19__extension__
19#include_next <poll.h> 20#include_next <poll.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
diff --git a/include/stdio.h b/include/stdio.h
index 996c661..1b76f82 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -16,6 +16,7 @@
16#ifndef _FORTIFY_STDIO_H 16#ifndef _FORTIFY_STDIO_H
17#define _FORTIFY_STDIO_H 17#define _FORTIFY_STDIO_H
18 18
19__extension__
19#include_next <stdio.h> 20#include_next <stdio.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
diff --git a/include/stdlib.h b/include/stdlib.h
index 2b67235..f89341f 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -16,9 +16,11 @@
16#ifndef _FORTIFY_STDLIB_H 16#ifndef _FORTIFY_STDLIB_H
17#define _FORTIFY_STDLIB_H 17#define _FORTIFY_STDLIB_H
18 18
19__extension__
19#include_next <stdlib.h> 20#include_next <stdlib.h>
20 21
21#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) 22#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
23__extension__
22#include_next <limits.h> 24#include_next <limits.h>
23#endif 25#endif
24 26
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
diff --git a/include/sys/select.h b/include/sys/select.h
index db6135d..7f768f4 100644
--- a/include/sys/select.h
+++ b/include/sys/select.h
@@ -16,6 +16,7 @@
16#ifndef _FORTIFY_SYS_SELECT_H 16#ifndef _FORTIFY_SYS_SELECT_H
17#define _FORTIFY_SYS_SELECT_H 17#define _FORTIFY_SYS_SELECT_H
18 18
19__extension__
19#include_next <sys/select.h> 20#include_next <sys/select.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
diff --git a/include/sys/socket.h b/include/sys/socket.h
index e68e21c..9454951 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -16,6 +16,7 @@
16#ifndef _FORTIFY_SYS_SOCKET_H 16#ifndef _FORTIFY_SYS_SOCKET_H
17#define _FORTIFY_SYS_SOCKET_H 17#define _FORTIFY_SYS_SOCKET_H
18 18
19__extension__
19#include_next <sys/socket.h> 20#include_next <sys/socket.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
diff --git a/include/unistd.h b/include/unistd.h
index 5274e22..5fa3b44 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -16,6 +16,7 @@
16#ifndef _FORTIFY_UNISTD_H 16#ifndef _FORTIFY_UNISTD_H
17#define _FORTIFY_UNISTD_H 17#define _FORTIFY_UNISTD_H
18 18
19__extension__
19#include_next <unistd.h> 20#include_next <unistd.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
diff --git a/include/wchar.h b/include/wchar.h
index 6fa86f2..0d4abfa 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -16,7 +16,9 @@
16#ifndef _FORTIFY_WCHAR_H 16#ifndef _FORTIFY_WCHAR_H
17#define _FORTIFY_WCHAR_H 17#define _FORTIFY_WCHAR_H
18 18
19__extension__
19#include_next <stdlib.h> 20#include_next <stdlib.h>
21__extension__
20#include_next <wchar.h> 22#include_next <wchar.h>
21 23
22#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 24#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0