diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2014-02-19 15:35:35 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2014-05-02 21:59:36 +0300 |
commit | 6d30db19caab3cc71a9353cab772b258f0545503 (patch) | |
tree | af4c1420f4d3aedac40ee2dfcf37da4c1108b023 /linux-user/uname.h | |
parent | 18cb008865d078c30f8efcd28c774788ae13d6a3 (diff) |
linux-user: move uname functions to uname.c
Make syscall.c slightly smaller by moving uname-related
functions to uname.c.
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/uname.h')
-rw-r--r-- | linux-user/uname.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/linux-user/uname.h b/linux-user/uname.h index 32492de71a..cc62e76cc1 100644 --- a/linux-user/uname.h +++ b/linux-user/uname.h @@ -1 +1,10 @@ +#ifndef UNAME_H +#define UNAME_H 1 + +#include <sys/utsname.h> +#include <linux/utsname.h> + const char *cpu_to_uname_machine(void *cpu_env); +int sys_uname(struct new_utsname *buf); + +#endif /* UNAME _H */ |