IOThread: make io_thread_run() static

This commit is contained in:
Max Kellermann 2017-01-25 23:00:31 +01:00
parent 8fd9d91974
commit 4140e9b857
2 changed files with 1 additions and 9 deletions

View File

@ -35,7 +35,7 @@ static struct {
Thread thread;
} io;
void
static void
io_thread_run(void)
{
assert(io_thread_inside());

View File

@ -30,14 +30,6 @@ io_thread_init();
void
io_thread_start();
/**
* Run the I/O event loop synchronously in the current thread. This
* can be called instead of io_thread_start(). For testing purposes
* only.
*/
void
io_thread_run();
/**
* Ask the I/O thread to quit, but does not wait for it. Usually, you
* don't need to call this function, because io_thread_deinit()