diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-06-06 11:08:16 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-06-07 13:02:08 +0200 |
commit | 787f51f5b34083c246310bd80eaa93e5c539de76 (patch) | |
tree | adcf1b01e6d79f03eac9fdcf76bda6339ddd05b1 /cpukit/libnetworking | |
parent | 93531e9b08b2c641abc4bf5e53c5ebcd754c7d55 (diff) |
Do not include <sys/ioctl.h> in kernel-space
Update #2833.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r-- | cpukit/libnetworking/net/if.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/net/if_ethersubr.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/net/if_loop.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/net/if_ppp.c | 3 | ||||
-rw-r--r-- | cpukit/libnetworking/net/ppp_tty.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/net/route.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/netinet/in.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/netinet/in_pcb.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/netinet/ip_mroute.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_bsdnet_internal.h | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_dhcp.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_glue.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_showifstat.c | 2 |
14 files changed, 15 insertions, 14 deletions
diff --git a/cpukit/libnetworking/net/if.c b/cpukit/libnetworking/net/if.c index d0da62af39..740bb90700 100644 --- a/cpukit/libnetworking/net/if.c +++ b/cpukit/libnetworking/net/if.c @@ -44,7 +44,7 @@ #include <sys/socketvar.h> #include <sys/protosw.h> #include <sys/kernel.h> -#include <sys/ioctl.h> +#include <sys/sockio.h> #include <errno.h> #include <sys/syslog.h> #include <sys/sysctl.h> diff --git a/cpukit/libnetworking/net/if_ethersubr.c b/cpukit/libnetworking/net/if_ethersubr.c index a98241a84f..0b87632318 100644 --- a/cpukit/libnetworking/net/if_ethersubr.c +++ b/cpukit/libnetworking/net/if_ethersubr.c @@ -50,7 +50,7 @@ #include <sys/mbuf.h> #include <sys/protosw.h> #include <sys/socket.h> -#include <sys/ioctl.h> +#include <sys/sockio.h> #include <errno.h> #include <sys/syslog.h> #include <sys/sysctl.h> diff --git a/cpukit/libnetworking/net/if_loop.c b/cpukit/libnetworking/net/if_loop.c index 9ddcc81323..48cf014418 100644 --- a/cpukit/libnetworking/net/if_loop.c +++ b/cpukit/libnetworking/net/if_loop.c @@ -52,7 +52,7 @@ #include <sys/mbuf.h> #include <sys/socket.h> #include <errno.h> -#include <sys/ioctl.h> +#include <sys/sockio.h> #include <sys/time.h> #include <net/if.h> diff --git a/cpukit/libnetworking/net/if_ppp.c b/cpukit/libnetworking/net/if_ppp.c index 4549910d6c..9284f6d302 100644 --- a/cpukit/libnetworking/net/if_ppp.c +++ b/cpukit/libnetworking/net/if_ppp.c @@ -95,7 +95,8 @@ #include <sys/proc.h> #include <sys/mbuf.h> #include <sys/socket.h> -#include <sys/ioctl.h> +#include <sys/filio.h> +#include <sys/sockio.h> #include <sys/kernel.h> #include <sys/time.h> #include <sys/malloc.h> diff --git a/cpukit/libnetworking/net/ppp_tty.c b/cpukit/libnetworking/net/ppp_tty.c index e68124cd7c..140a7e6baa 100644 --- a/cpukit/libnetworking/net/ppp_tty.c +++ b/cpukit/libnetworking/net/ppp_tty.c @@ -87,7 +87,7 @@ #include <sys/proc.h> #include <sys/mbuf.h> #include <sys/socket.h> -#include <sys/ioctl.h> +#include <sys/filio.h> #include <sys/file.h> #include <sys/kernel.h> diff --git a/cpukit/libnetworking/net/route.c b/cpukit/libnetworking/net/route.c index b04649c6f4..bb9f3ff844 100644 --- a/cpukit/libnetworking/net/route.c +++ b/cpukit/libnetworking/net/route.c @@ -45,7 +45,7 @@ #include <sys/socketvar.h> #include <sys/domain.h> #include <sys/protosw.h> -#include <sys/ioctl.h> +#include <sys/sockio.h> #include <net/if.h> #include <net/route.h> diff --git a/cpukit/libnetworking/netinet/in.c b/cpukit/libnetworking/netinet/in.c index a23d4f598c..372252cddf 100644 --- a/cpukit/libnetworking/netinet/in.c +++ b/cpukit/libnetworking/netinet/in.c @@ -37,7 +37,7 @@ #include <sys/param.h> #include <sys/queue.h> #include <sys/systm.h> -#include <sys/ioctl.h> +#include <sys/sockio.h> #include <errno.h> #include <sys/malloc.h> #include <sys/socket.h> diff --git a/cpukit/libnetworking/netinet/in_pcb.c b/cpukit/libnetworking/netinet/in_pcb.c index 1cd9c9244b..bba5528a6c 100644 --- a/cpukit/libnetworking/netinet/in_pcb.c +++ b/cpukit/libnetworking/netinet/in_pcb.c @@ -43,7 +43,7 @@ #include <sys/protosw.h> #include <sys/socket.h> #include <sys/socketvar.h> -#include <sys/ioctl.h> +#include <sys/sockio.h> #include <errno.h> #include <sys/time.h> #include <sys/proc.h> diff --git a/cpukit/libnetworking/netinet/ip_mroute.c b/cpukit/libnetworking/netinet/ip_mroute.c index 92b4bb7f2f..5fc3023ee3 100644 --- a/cpukit/libnetworking/netinet/ip_mroute.c +++ b/cpukit/libnetworking/netinet/ip_mroute.c @@ -28,7 +28,7 @@ #include <errno.h> #include <sys/time.h> #include <sys/kernel.h> -#include <sys/ioctl.h> +#include <sys/sockio.h> #include <sys/syslog.h> #include <net/if.h> #include <net/route.h> diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h index fffe1b2e21..9608996078 100644 --- a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h +++ b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h @@ -35,7 +35,7 @@ typedef __uintptr_t vm_size_t; #include <sys/cdefs.h> #include <sys/time.h> -#include <sys/ioctl.h> +#include <sys/ioccom.h> struct mdproc { int md_flags; diff --git a/cpukit/libnetworking/rtems/rtems_dhcp.c b/cpukit/libnetworking/rtems/rtems_dhcp.c index 74ea870497..5f5515c847 100644 --- a/cpukit/libnetworking/rtems/rtems_dhcp.c +++ b/cpukit/libnetworking/rtems/rtems_dhcp.c @@ -82,7 +82,7 @@ #include <stdlib.h> #include <unistd.h> -#include <sys/ioctl.h> +#include <sys/sockio.h> #include <sys/param.h> /* for MAXHOSTNAMELEN */ #include <sys/systm.h> #include <sys/socketvar.h> /* for socreat() soclose() */ diff --git a/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c b/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c index 46a411bc55..acdec137fc 100644 --- a/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c +++ b/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c @@ -63,7 +63,7 @@ #include <rtems/rtems_dhcp_failsafe.h> struct proc; /* Unused parameter of some functions. */ -#include <sys/ioctl.h> +#include <sys/sockio.h> #include <sys/socket.h> #include <net/route.h> #include <netinet/in.h> /* for sockaddr_in */ diff --git a/cpukit/libnetworking/rtems/rtems_glue.c b/cpukit/libnetworking/rtems/rtems_glue.c index ac75fb0b5d..939b858dc7 100644 --- a/cpukit/libnetworking/rtems/rtems_glue.c +++ b/cpukit/libnetworking/rtems/rtems_glue.c @@ -24,7 +24,7 @@ #include <sys/sockio.h> #include <sys/callout.h> #include <sys/proc.h> -#include <sys/ioctl.h> +#include <sys/sockio.h> #include <sys/systm.h> #include <net/if.h> #include <net/route.h> diff --git a/cpukit/libnetworking/rtems/rtems_showifstat.c b/cpukit/libnetworking/rtems/rtems_showifstat.c index 2e06a8ce5c..a936cf7458 100644 --- a/cpukit/libnetworking/rtems/rtems_showifstat.c +++ b/cpukit/libnetworking/rtems/rtems_showifstat.c @@ -9,7 +9,7 @@ #include <sys/sysctl.h> #include <sys/proc.h> #include <sys/socket.h> -#include <sys/ioctl.h> +#include <sys/sockio.h> #include <sys/mbuf.h> #include <net/if.h> #include <net/if_dl.h> |