diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-12-22 07:47:28 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-12-22 07:47:28 +0000 |
commit | b3f8c9e15b211d7360bbd8bdfd185c3b6bb24d26 (patch) | |
tree | b768e832d9a719c38890c0cd6977f427952aa880 /cpukit/libnetworking/rtems | |
parent | 2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-b3f8c9e15b211d7360bbd8bdfd185c3b6bb24d26.tar.bz2 |
Include <errno.h> (POSIX,C99) instead of <sys/errno.h> (BSD'ism).
Diffstat (limited to 'cpukit/libnetworking/rtems')
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_select.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_socketpair.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_syscall.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c b/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c index 50b1ed80a1..c1a202ce7c 100644 --- a/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c +++ b/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c @@ -69,7 +69,7 @@ #include <rtems/rtems_mii_ioctl.h> -#include <sys/errno.h> +#include <errno.h> #define DEBUG diff --git a/cpukit/libnetworking/rtems/rtems_select.c b/cpukit/libnetworking/rtems/rtems_select.c index 9504981147..7a006095ea 100644 --- a/cpukit/libnetworking/rtems/rtems_select.c +++ b/cpukit/libnetworking/rtems/rtems_select.c @@ -16,7 +16,7 @@ #include <rtems/error.h> #include <rtems/rtems_bsdnet.h> -#include <sys/errno.h> +#include <errno.h> #include <sys/fcntl.h> #include <sys/types.h> #include <sys/param.h> diff --git a/cpukit/libnetworking/rtems/rtems_socketpair.c b/cpukit/libnetworking/rtems/rtems_socketpair.c index 0e0141919e..5e7193cf18 100644 --- a/cpukit/libnetworking/rtems/rtems_socketpair.c +++ b/cpukit/libnetworking/rtems/rtems_socketpair.c @@ -30,7 +30,7 @@ #include <unistd.h> #include <sys/socket.h> -#include <sys/errno.h> +#include <errno.h> int socketpair (int domain, int type, int protocol, int *rsv) { diff --git a/cpukit/libnetworking/rtems/rtems_syscall.c b/cpukit/libnetworking/rtems/rtems_syscall.c index 640500efa2..8acb732d00 100644 --- a/cpukit/libnetworking/rtems/rtems_syscall.c +++ b/cpukit/libnetworking/rtems/rtems_syscall.c @@ -17,7 +17,7 @@ #include <rtems/error.h> #include <rtems/rtems_bsdnet.h> -#include <sys/errno.h> +#include <errno.h> #include <sys/types.h> #include <sys/param.h> #include <sys/mbuf.h> |