diff options
author | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2016-06-24 08:52:48 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-28 13:10:01 +0200 |
commit | 4c02385d8fa3110e4208e2cb8cb2d04d630cf85e (patch) | |
tree | b25d3f48b8f34ff627b9d156c9c10e9391a46f3c /c/src/lib/libbsp/powerpc | |
parent | libnetworking: Import current <netinet/in.h> (diff) | |
download | rtems-4c02385d8fa3110e4208e2cb8cb2d04d630cf85e.tar.bz2 |
libnetworking: Import current <arpa/inet.h>
Import the <arpa/inet.h> from current FreeBSD. Necessary due to changes
in <netinet/in.h>. Remove BSD hack from <arpa/inet.h>.
Clean up problems with htonl(). These functions are defined in
<arpa/inet.h>. This lead to some problems because they are defined in
<rtems/endian.h> too. Add NTOHL, ... to
<rtems/rtems_bsdnet_internal.h>.
Diffstat (limited to 'c/src/lib/libbsp/powerpc')
4 files changed, 0 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/beatnik/network/porting/if_xxx_rtems.c b/c/src/lib/libbsp/powerpc/beatnik/network/porting/if_xxx_rtems.c index fe15f9775c..cbb83a1385 100644 --- a/c/src/lib/libbsp/powerpc/beatnik/network/porting/if_xxx_rtems.c +++ b/c/src/lib/libbsp/powerpc/beatnik/network/porting/if_xxx_rtems.c @@ -27,7 +27,6 @@ #include <netinet/in.h> #include <netinet/if_ether.h> -#include <arpa/inet.h> #include <net/if_media.h> diff --git a/c/src/lib/libbsp/powerpc/haleakala/network/network.c b/c/src/lib/libbsp/powerpc/haleakala/network/network.c index 4b89286ff2..e8731cb954 100644 --- a/c/src/lib/libbsp/powerpc/haleakala/network/network.c +++ b/c/src/lib/libbsp/powerpc/haleakala/network/network.c @@ -34,7 +34,6 @@ #include <sys/types.h> #include <sys/socket.h> -#include <arpa/inet.h> #include <ppc4xx/ppc405gp.h> #include <ppc4xx/ppc405ex.h> diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c b/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c index f066a0e74b..11018ea632 100644 --- a/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c +++ b/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c @@ -67,7 +67,6 @@ #include <sys/types.h> #include <sys/socket.h> -#include <arpa/inet.h> /* * Number of interfaces supported by this driver diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/network/network_scc.c b/c/src/lib/libbsp/powerpc/tqm8xx/network/network_scc.c index 5909b022ea..133dc0f4a2 100644 --- a/c/src/lib/libbsp/powerpc/tqm8xx/network/network_scc.c +++ b/c/src/lib/libbsp/powerpc/tqm8xx/network/network_scc.c @@ -63,7 +63,6 @@ #include <sys/types.h> #include <sys/socket.h> -#include <arpa/inet.h> /* * Number of interfaces supported by this driver |