Good C practices
This commit is contained in:
@@ -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*);
|
||||
}
|
||||
|
Reference in New Issue
Block a user