diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2012-11-03 12:55:05 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-11-03 12:55:05 +0000 |
commit | ef84755ebb38b4f5629b24440bb00f1ef5287707 (patch) | |
tree | c2d74584b5f8c85c4c61ae650e628e08403b69ec /ui/vnc-jobs.c | |
parent | b76f0d8c2e3eac94bc7fd90a510cb7426b2a2699 (diff) | |
parent | 0d3cf3b6ff469bba95ae235021a3be232af4068d (diff) |
Merge branch 'trivial-patches' of git://github.com/stefanha/qemu
* 'trivial-patches' of git://github.com/stefanha/qemu:
pc: Drop redundant test for ROM memory region
exec: make some functions static
target-ppc: make some functions static
ppc: add missing static
vnc: add missing static
vl.c: add missing static
target-sparc: make do_unaligned_access static
m68k: Return semihosting errno values correctly
cadence_uart: More debug information
Conflicts:
target-m68k/m68k-semi.c
Diffstat (limited to 'ui/vnc-jobs.c')
-rw-r--r-- | ui/vnc-jobs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/vnc-jobs.c b/ui/vnc-jobs.c index 04f139b56f..57c091683b 100644 --- a/ui/vnc-jobs.c +++ b/ui/vnc-jobs.c @@ -321,6 +321,11 @@ static void *vnc_worker_thread(void *arg) return NULL; } +static bool vnc_worker_thread_running(void) +{ + return queue; /* Check global queue */ +} + void vnc_start_worker_thread(void) { VncJobQueue *q; @@ -333,11 +338,6 @@ void vnc_start_worker_thread(void) queue = q; /* Set global queue */ } -bool vnc_worker_thread_running(void) -{ - return queue; /* Check global queue */ -} - void vnc_stop_worker_thread(void) { if (!vnc_worker_thread_running()) |