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/lib | |
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/lib')
-rw-r--r-- | cpukit/libnetworking/lib/getprotoby.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/lib/rtems_bsdnet_ntp.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/lib/syslog.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/libnetworking/lib/getprotoby.c b/cpukit/libnetworking/lib/getprotoby.c index 88bffe06ec..4eeec598f8 100644 --- a/cpukit/libnetworking/lib/getprotoby.c +++ b/cpukit/libnetworking/lib/getprotoby.c @@ -1,3 +1,5 @@ +#include <machine/rtems-bsd-user-space.h> + #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/cpukit/libnetworking/lib/rtems_bsdnet_ntp.c b/cpukit/libnetworking/lib/rtems_bsdnet_ntp.c index 35092ea631..e6757599ac 100644 --- a/cpukit/libnetworking/lib/rtems_bsdnet_ntp.c +++ b/cpukit/libnetworking/lib/rtems_bsdnet_ntp.c @@ -1,3 +1,5 @@ +#include <machine/rtems-bsd-user-space.h> + /* * Synchronize with an NTP server * diff --git a/cpukit/libnetworking/lib/syslog.c b/cpukit/libnetworking/lib/syslog.c index 8f0cbc8885..8e167a41de 100644 --- a/cpukit/libnetworking/lib/syslog.c +++ b/cpukit/libnetworking/lib/syslog.c @@ -1,3 +1,5 @@ +#include <machine/rtems-bsd-user-space.h> + /* * RTEMS version of syslog and associated routines */ |