diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-01-26 18:17:02 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-01-29 15:07:22 +0000 |
commit | d39594e9d96b4f0be27bdbc02a5b1816b72fe1d2 (patch) | |
tree | de73b43a7eab2d30757f4f60c440fc7b97b3253d /linux-user/syscall.c | |
parent | 5af98cc5731061fc0321cd2c4c23c7e39cca0d9d (diff) |
linux-user: Clean up includes
Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.
This commit was created with scripts/clean-includes.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1453832250-766-10-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r-- | linux-user/syscall.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 0cbace45fd..54ce14a611 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -17,24 +17,13 @@ * along with this program; if not, see <http://www.gnu.org/licenses/>. */ #define _ATFILE_SOURCE -#include <stdlib.h> -#include <stdio.h> -#include <stdarg.h> -#include <string.h> +#include "qemu/osdep.h" #include <elf.h> #include <endian.h> -#include <errno.h> -#include <unistd.h> -#include <fcntl.h> -#include <time.h> -#include <limits.h> #include <grp.h> -#include <sys/types.h> #include <sys/ipc.h> #include <sys/msg.h> #include <sys/wait.h> -#include <sys/time.h> -#include <sys/stat.h> #include <sys/mount.h> #include <sys/file.h> #include <sys/fsuid.h> @@ -44,7 +33,6 @@ #include <sys/mman.h> #include <sys/swap.h> #include <linux/capability.h> -#include <signal.h> #include <sched.h> #ifdef __ia64__ int __clone2(int (*fn)(void *), void *child_stack_base, |