*: change C-style prototypes, drop "(void)"

This commit is contained in:
Max Kellermann
2015-03-03 20:05:08 +01:00
parent cd776ff1a8
commit 1c90b0c19d
28 changed files with 74 additions and 53 deletions

View File

@@ -25,7 +25,7 @@
class EventLoop;
void
io_thread_init(void);
io_thread_init();
void
io_thread_start();
@@ -36,7 +36,7 @@ io_thread_start();
* only.
*/
void
io_thread_run(void);
io_thread_run();
/**
* Ask the I/O thread to quit, but does not wait for it. Usually, you
@@ -44,10 +44,10 @@ io_thread_run(void);
* includes this.
*/
void
io_thread_quit(void);
io_thread_quit();
void
io_thread_deinit(void);
io_thread_deinit();
gcc_const
EventLoop &
@@ -58,6 +58,6 @@ io_thread_get();
*/
gcc_pure
bool
io_thread_inside(void);
io_thread_inside();
#endif