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>
This commit is contained in:
Riku Voipio
2014-02-19 15:35:35 +02:00
parent 18cb008865
commit 6d30db19ca
3 changed files with 110 additions and 102 deletions

View File

@@ -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 */