Good C practices, one day I'll remember to do this all the time
This commit is contained in:
parent
3a80153e17
commit
7c511264df
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user