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

@@ -121,10 +121,10 @@ void wofi_run_exec(const gchar* cmd) {
exit(errno);
}
const char** wofi_run_get_arg_names() {
const char** wofi_run_get_arg_names(void) {
return arg_names;
}
size_t wofi_run_get_arg_count() {
size_t wofi_run_get_arg_count(void) {
return sizeof(arg_names) / sizeof(char*);
}