summaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-08-15 07:51:59 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-08-15 07:51:59 +0000
commit134c02716b198cadb88f20f2a7a18db631d1baae (patch)
tree74c39fb24338eb2bdc7e3627c4d57104f3d90b02 /qemu-common.h
parent1e73a92fad24ccea60c0e69cc7b48687d0dfd67a (diff)
downloadqemu-134c02716b198cadb88f20f2a7a18db631d1baae.tar.gz
qemu-134c02716b198cadb88f20f2a7a18db631d1baae.tar.bz2
qemu-134c02716b198cadb88f20f2a7a18db631d1baae.zip
user: compile path.c only once
Also merge bsd-user/path.c and linux-user/path.c. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h4
1 files changed, 4 insertions, 0 deletions
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))