Turn funcs() into funcs(void)

If they really do not take undefined number of arguments.
This commit is contained in:
Arkadiusz Hiler 2018-09-30 13:58:49 +03:00
parent d8200012fb
commit 1e70f7b19e
14 changed files with 19 additions and 19 deletions

View file

@ -92,7 +92,7 @@ static int release_lock(void *data) {
return 0;
}
void acquire_sleep_lock() {
void acquire_sleep_lock(void) {
sd_bus_message *msg = NULL;
sd_bus_error error = SD_BUS_ERROR_NULL;
struct sd_bus *bus;
@ -161,7 +161,7 @@ static int dbus_event(int fd, uint32_t mask, void *data) {
return 1;
}
void setup_sleep_listener() {
void setup_sleep_listener(void) {
struct sd_bus *bus;
int ret = sd_bus_default_system(&bus);