From f3e270377acd074f62e08960ef9444adf67d3590 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 21 May 2011 12:16:05 +0000 Subject: 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 --- cpu-exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpu-exec.c') diff --git a/cpu-exec.c b/cpu-exec.c index ecd201e..49de9e0 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -32,7 +32,7 @@ int tb_invalidated_flag; //#define CONFIG_DEBUG_EXEC -int qemu_cpu_has_work(CPUState *env) +bool qemu_cpu_has_work(CPUState *env) { return cpu_has_work(env); } -- cgit v1.1