From 370220865b8f3451a5d2caac8f38b3fd08818bf8 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 15 Aug 2009 07:51:59 +0000 Subject: user: compile path.c only once Also merge bsd-user/path.c and linux-user/path.c. Signed-off-by: Blue Swirl --- qemu-common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qemu-common.h') diff --git a/qemu-common.h b/qemu-common.h index c1fb5bf608..74ac88fba0 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -115,6 +115,10 @@ int qemu_strnlen(const char *s, int max_len); time_t mktimegm(struct tm *tm); int qemu_fls(int i); +/* path.c */ +void init_paths(const char *prefix); +const char *path(const char *pathname); + #define qemu_isalnum(c) isalnum((unsigned char)(c)) #define qemu_isalpha(c) isalpha((unsigned char)(c)) #define qemu_iscntrl(c) iscntrl((unsigned char)(c)) -- cgit v1.2.1