Good C practices

This commit is contained in:
Scoopta
2020-01-06 00:39:47 -08:00
parent 8bcdfc0f13
commit a85c516926
10 changed files with 23 additions and 23 deletions

View File

@@ -95,10 +95,10 @@ void wofi_dmenu_exec(const gchar* cmd) {
exit(0);
}
const char** wofi_dmenu_get_arg_names() {
const char** wofi_dmenu_get_arg_names(void) {
return arg_names;
}
size_t wofi_dmenu_get_arg_count() {
size_t wofi_dmenu_get_arg_count(void) {
return sizeof(arg_names) / sizeof(char*);
}