diff --git a/modes/dmenu.c b/modes/dmenu.c index ada2f0b..7fe6a2d 100644 --- a/modes/dmenu.c +++ b/modes/dmenu.c @@ -105,7 +105,7 @@ void wofi_dmenu_init(struct mode* this, struct map* config) { map_free(cached); } -struct widget* wofi_dmenu_get_widget() { +struct widget* wofi_dmenu_get_widget(void) { struct node* node, *tmp; wl_list_for_each_reverse_safe(node, tmp, &widgets, link) { struct widget* widget = node->widget; diff --git a/modes/drun.c b/modes/drun.c index 402bd67..1010d57 100644 --- a/modes/drun.c +++ b/modes/drun.c @@ -299,7 +299,7 @@ void wofi_drun_init(struct mode* this, struct map* config) { map_free(entries); } -struct widget* wofi_drun_get_widget() { +struct widget* wofi_drun_get_widget(void) { struct node* node, *tmp; wl_list_for_each_reverse_safe(node, tmp, &widgets, link) { struct widget* widget = node->widget; diff --git a/modes/run.c b/modes/run.c index e85d3d5..3ffe809 100644 --- a/modes/run.c +++ b/modes/run.c @@ -128,7 +128,7 @@ void wofi_run_init(struct mode* this, struct map* config) { map_free(entries); } -struct widget* wofi_run_get_widget() { +struct widget* wofi_run_get_widget(void) { struct node* node, *tmp; wl_list_for_each_reverse_safe(node, tmp, &widgets, link) { struct widget* widget = node->widget;