summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorSteven Barth2015-06-24 20:13:37 +0200
committersin2015-06-25 10:18:26 +0100
commit7fd984fcb532be01f68cddc194c09a7ca10c1ea6 (patch)
tree03b23a8bb2d9e1c86ff22e406263ceab35973843 /include/sys
parent0825063aa6725f8ddf6661ead3263072d630870c (diff)
Add __extension__ mark to include_next to silence -pedantic
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/select.h1
-rw-r--r--include/sys/socket.h1
2 files changed, 2 insertions, 0 deletions
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