diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-07 06:19:02 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-10 10:38:44 +0200 |
commit | cb682532cf9927619a3c8d168253187140835cc6 (patch) | |
tree | efb8abc9206b17b12fd97a8bb7a02b53c00fe452 /cpukit/libnetworking/kern | |
parent | network: Remove man page installation (diff) | |
download | rtems-cb682532cf9927619a3c8d168253187140835cc6.tar.bz2 |
network: Use kernel/user space header files
Add and use <machine/rtems-bsd-kernel-space.h> and
<machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command
line defines and defines scattered throught the code base.
Simplify cpukit/libnetworking/Makefile.am.
Update #3375.
Diffstat (limited to 'cpukit/libnetworking/kern')
-rw-r--r-- | cpukit/libnetworking/kern/kern_mib.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/kern/kern_subr.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/kern/kern_sysctl.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/kern/uipc_domain.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/kern/uipc_mbuf.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/kern/uipc_socket.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/kern/uipc_socket2.c | 2 |
7 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/libnetworking/kern/kern_mib.c b/cpukit/libnetworking/kern/kern_mib.c index 7895476133..c429ad4a8e 100644 --- a/cpukit/libnetworking/kern/kern_mib.c +++ b/cpukit/libnetworking/kern/kern_mib.c @@ -1,3 +1,5 @@ +#include <machine/rtems-bsd-kernel-space.h> + /*- * Copyright (c) 1982, 1986, 1989, 1993 * The Regents of the University of California. All rights reserved. diff --git a/cpukit/libnetworking/kern/kern_subr.c b/cpukit/libnetworking/kern/kern_subr.c index 9252d3049d..0c4b803eb5 100644 --- a/cpukit/libnetworking/kern/kern_subr.c +++ b/cpukit/libnetworking/kern/kern_subr.c @@ -1,3 +1,5 @@ +#include <machine/rtems-bsd-kernel-space.h> + /* * Copyright (c) 1982, 1986, 1991, 1993 * The Regents of the University of California. All rights reserved. diff --git a/cpukit/libnetworking/kern/kern_sysctl.c b/cpukit/libnetworking/kern/kern_sysctl.c index e2de690d55..c0a38f311b 100644 --- a/cpukit/libnetworking/kern/kern_sysctl.c +++ b/cpukit/libnetworking/kern/kern_sysctl.c @@ -1,3 +1,5 @@ +#include <machine/rtems-bsd-kernel-space.h> + /*- * Copyright (c) 1982, 1986, 1989, 1993 * The Regents of the University of California. All rights reserved. diff --git a/cpukit/libnetworking/kern/uipc_domain.c b/cpukit/libnetworking/kern/uipc_domain.c index 7d7dd7ff54..2e4b15182c 100644 --- a/cpukit/libnetworking/kern/uipc_domain.c +++ b/cpukit/libnetworking/kern/uipc_domain.c @@ -1,3 +1,5 @@ +#include <machine/rtems-bsd-kernel-space.h> + /* * Copyright (c) 1982, 1986, 1993 * The Regents of the University of California. All rights reserved. diff --git a/cpukit/libnetworking/kern/uipc_mbuf.c b/cpukit/libnetworking/kern/uipc_mbuf.c index 9d6b3c429f..2267ddbe61 100644 --- a/cpukit/libnetworking/kern/uipc_mbuf.c +++ b/cpukit/libnetworking/kern/uipc_mbuf.c @@ -1,3 +1,5 @@ +#include <machine/rtems-bsd-kernel-space.h> + /* * Copyright (c) 1982, 1986, 1988, 1991, 1993 * The Regents of the University of California. All rights reserved. diff --git a/cpukit/libnetworking/kern/uipc_socket.c b/cpukit/libnetworking/kern/uipc_socket.c index 110f8cebfc..c6220bd34e 100644 --- a/cpukit/libnetworking/kern/uipc_socket.c +++ b/cpukit/libnetworking/kern/uipc_socket.c @@ -1,3 +1,5 @@ +#include <machine/rtems-bsd-kernel-space.h> + /* * Copyright (c) 1982, 1986, 1988, 1990, 1993 * The Regents of the University of California. All rights reserved. diff --git a/cpukit/libnetworking/kern/uipc_socket2.c b/cpukit/libnetworking/kern/uipc_socket2.c index e6ea6725dd..137eb0f5f0 100644 --- a/cpukit/libnetworking/kern/uipc_socket2.c +++ b/cpukit/libnetworking/kern/uipc_socket2.c @@ -1,3 +1,5 @@ +#include <machine/rtems-bsd-kernel-space.h> + /* * This file has undergone several changes to reflect the * differences between the RTEMS and FreeBSD kernels. |