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
commit370220865b8f3451a5d2caac8f38b3fd08818bf8 (patch)
tree74c39fb24338eb2bdc7e3627c4d57104f3d90b02 /qemu-common.h
parent0bf5e443bdf13a42824b3a65ed92f0a8540fc0bf (diff)
downloadqemu-370220865b8f3451a5d2caac8f38b3fd08818bf8.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))