summaryrefslogtreecommitdiffstats
path: root/include/qemu/unicode.h
diff options
context:
space:
mode:
authorVeronia Bahaa2016-03-20 18:16:19 +0100
committerPaolo Bonzini2016-03-22 22:20:17 +0100
commitf348b6d1a53e5271cf1c9f9acc4646b4b98c1771 (patch)
tree2eb2da02e51400b1b1ecae295e32a81c7a889ab1 /include/qemu/unicode.h
parentReplaced get_tick_per_sec() by NANOSECONDS_PER_SECOND (diff)
downloadqemu-f348b6d1a53e5271cf1c9f9acc4646b4b98c1771.tar.gz
qemu-f348b6d1a53e5271cf1c9f9acc4646b4b98c1771.tar.xz
qemu-f348b6d1a53e5271cf1c9f9acc4646b4b98c1771.zip
util: move declarations out of qemu-common.h
Move declarations out of qemu-common.h for functions declared in utils/ files: e.g. include/qemu/path.h for utils/path.c. Move inline functions out of qemu-common.h and into new files (e.g. include/qemu/bcd.h) Signed-off-by: Veronia Bahaa <veroniabahaa@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qemu/unicode.h')
-rw-r--r--include/qemu/unicode.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/qemu/unicode.h b/include/qemu/unicode.h
new file mode 100644
index 0000000000..d8731652d2
--- /dev/null
+++ b/include/qemu/unicode.h
@@ -0,0 +1,6 @@
+#ifndef QEMU_UNICODE_H
+#define QEMU_UNICODE_H 1
+
+int mod_utf8_codepoint(const char *s, size_t n, char **end);
+
+#endif