summaryrefslogtreecommitdiff
path: root/bsd-user
diff options
context:
space:
mode:
authorVeronia Bahaa <veroniabahaa@gmail.com>2016-03-20 19:16:19 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-03-22 22:20:17 +0100
commitf348b6d1a53e5271cf1c9f9acc4646b4b98c1771 (patch)
tree2eb2da02e51400b1b1ecae295e32a81c7a889ab1 /bsd-user
parent73bcb24d932912f8e75e1d88da0fc0ac6d4bce78 (diff)
downloadqemu-f348b6d1a53e5271cf1c9f9acc4646b4b98c1771.tar.gz
qemu-f348b6d1a53e5271cf1c9f9acc4646b4b98c1771.tar.bz2
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 'bsd-user')
-rw-r--r--bsd-user/elfload.c1
-rw-r--r--bsd-user/main.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c
index 0a6092bdf7..898ee05472 100644
--- a/bsd-user/elfload.c
+++ b/bsd-user/elfload.c
@@ -5,6 +5,7 @@
#include "qemu.h"
#include "disas/disas.h"
+#include "qemu/path.h"
#ifdef _ARCH_PPC64
#undef ARCH_DLINFO
diff --git a/bsd-user/main.c b/bsd-user/main.c
index 287ec1d369..27854c1f91 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -21,7 +21,8 @@
#include <sys/mman.h>
#include "qemu.h"
-#include "qemu-common.h"
+#include "qemu/path.h"
+#include "qemu/help_option.h"
/* For tb_lock */
#include "cpu.h"
#include "tcg.h"