1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-03 14:56:46 +02:00

Use (void) for empty parameter list in C.

This commit is contained in:
iphydf
2018-09-08 17:23:07 +00:00
parent 2be4847b53
commit bebff3be0e
10 changed files with 31 additions and 28 deletions

View File

@ -378,7 +378,7 @@ int init_xtra(drop_callback d)
return 0;
}
void terminate_xtra()
void terminate_xtra(void)
{
if (!Xtra.display || !Xtra.terminal_window) {
return;
@ -400,7 +400,7 @@ void terminate_xtra()
while (Xtra.display); /* Wait for termination */
}
long unsigned int focused_window_id()
long unsigned int focused_window_id(void)
{
if (!Xtra.display) {
return 0;
@ -414,7 +414,7 @@ long unsigned int focused_window_id()
return focus;
}
int is_focused()
int is_focused(void)
{
return Xtra.proxy_window == focused_window_id() || Xtra.terminal_window == focused_window_id();
}