mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
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:
parent
4fdcac0e2b
commit
71a8cdeca0
5 changed files with 12 additions and 20 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue