aboutsummaryrefslogtreecommitdiff
path: root/cpu-all.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-05-21 12:16:05 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-06-26 18:25:26 +0000
commitf3e270377acd074f62e08960ef9444adf67d3590 (patch)
tree18a26d7473c79d8ccb4918bc703fc1ab3d8d14ab /cpu-all.h
parentd8108fb187bb68459cfe7dca4b5c983db33bcc7b (diff)
downloadqemu-f3e270377acd074f62e08960ef9444adf67d3590.zip
qemu-f3e270377acd074f62e08960ef9444adf67d3590.tar.gz
qemu-f3e270377acd074f62e08960ef9444adf67d3590.tar.bz2
exec.h: fix coding style and change cpu_has_work to return bool
Before the next patch, fix coding style of the areas affected. Change the type of the return value from cpu_has_work() and qemu_cpu_has_work() to bool. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'cpu-all.h')
-rw-r--r--cpu-all.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-all.h b/cpu-all.h
index 880f570..e839100 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -847,7 +847,7 @@ void cpu_reset_interrupt(CPUState *env, int mask);
void cpu_exit(CPUState *s);
-int qemu_cpu_has_work(CPUState *env);
+bool qemu_cpu_has_work(CPUState *env);
/* Breakpoint/watchpoint flags */
#define BP_MEM_READ 0x01