vnc: add missing static

Add missing 'static' qualifiers.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
Blue Swirl 2012-10-28 11:04:48 +00:00 committed by Stefan Hajnoczi
parent 4fdcac0e2b
commit 71a8cdeca0
5 changed files with 12 additions and 20 deletions

View file

@ -320,6 +320,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;
@ -332,11 +337,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())