Reorder and remove unused imports in nsexec.c

Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com>
This commit is contained in:
Daniel, Dao Quang Minh 2015-09-14 00:55:52 +00:00 committed by Kenfe-Mickael Laventure
parent 42d5d04801
commit 002b6c2fe8
1 changed files with 13 additions and 22 deletions

View File

@ -1,28 +1,19 @@
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <linux/limits.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <signal.h>
#include <setjmp.h>
#include <sched.h>
#include <signal.h>
#include <endian.h> #include <endian.h>
#include <stdint.h> #include <errno.h>
#include <inttypes.h> #include <fcntl.h>
#include <linux/limits.h>
// netlink related
#include <linux/types.h>
#include <sys/socket.h>
#include <linux/netlink.h> #include <linux/netlink.h>
#include <sched.h>
#include <setjmp.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <unistd.h>
#include <bits/sockaddr.h> #include <bits/sockaddr.h>
#include <linux/netlink.h> #include <linux/netlink.h>