diff options
Diffstat (limited to 'sysdep')
-rw-r--r-- | sysdep/linux/krt-scan.c | 2 | ||||
-rw-r--r-- | sysdep/linux/netlink/netlink.c | 2 | ||||
-rw-r--r-- | sysdep/unix/io.c | 1 | ||||
-rw-r--r-- | sysdep/unix/krt-iface.c | 2 | ||||
-rw-r--r-- | sysdep/unix/krt-set.c | 2 | ||||
-rw-r--r-- | sysdep/unix/main.c | 2 |
6 files changed, 5 insertions, 6 deletions
diff --git a/sysdep/linux/krt-scan.c b/sysdep/linux/krt-scan.c index c7a5a86..42f9287 100644 --- a/sysdep/linux/krt-scan.c +++ b/sysdep/linux/krt-scan.c @@ -6,7 +6,6 @@ * Can be freely distributed and used under the terms of the GNU GPL. */ -#include <string.h> #include <stdio.h> #include <ctype.h> #include <fcntl.h> @@ -22,6 +21,7 @@ #include "lib/timer.h" #include "lib/unix.h" #include "lib/krt.h" +#include "lib/string.h" static int krt_scan_fd = -1; diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c index 9168e9f..86f13f0 100644 --- a/sysdep/linux/netlink/netlink.c +++ b/sysdep/linux/netlink/netlink.c @@ -6,7 +6,6 @@ * Can be freely distributed and used under the terms of the GNU GPL. */ -#include <string.h> #include <stdio.h> #include <fcntl.h> #include <net/if.h> @@ -24,6 +23,7 @@ #include "lib/unix.h" #include "lib/krt.h" #include "lib/socket.h" +#include "lib/string.h" #include "conf/conf.h" #include <asm/types.h> diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 0925609..1ee1c07 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -8,7 +8,6 @@ #include <stdio.h> #include <stdlib.h> -#include <string.h> #include <sys/time.h> #include <sys/types.h> #include <sys/socket.h> diff --git a/sysdep/unix/krt-iface.c b/sysdep/unix/krt-iface.c index da3df2d..bd4a40a 100644 --- a/sysdep/unix/krt-iface.c +++ b/sysdep/unix/krt-iface.c @@ -6,7 +6,6 @@ * Can be freely distributed and used under the terms of the GNU GPL. */ -#include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> @@ -22,6 +21,7 @@ #include "nest/protocol.h" #include "lib/timer.h" #include "lib/krt.h" +#include "lib/string.h" #include "unix.h" diff --git a/sysdep/unix/krt-set.c b/sysdep/unix/krt-set.c index 7242450..bd56448 100644 --- a/sysdep/unix/krt-set.c +++ b/sysdep/unix/krt-set.c @@ -6,7 +6,6 @@ * Can be freely distributed and used under the terms of the GNU GPL. */ -#include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> @@ -21,6 +20,7 @@ #include "nest/protocol.h" #include "lib/unix.h" #include "lib/krt.h" +#include "lib/string.h" int krt_capable(rte *e) diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c index dcd921f..121ec9d 100644 --- a/sysdep/unix/main.c +++ b/sysdep/unix/main.c @@ -9,7 +9,6 @@ #define LOCAL_DEBUG #include <stdio.h> -#include <string.h> #include <stdlib.h> #include <fcntl.h> #include <unistd.h> @@ -20,6 +19,7 @@ #include "lib/resource.h" #include "lib/socket.h" #include "lib/event.h" +#include "lib/string.h" #include "nest/route.h" #include "nest/protocol.h" #include "nest/iface.h" |