mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 08:47:47 +02:00
More cases of #5477 functions with empty argument lists
Building on macOS 13.3.1 (22E261) clang 14.0.3 (clang-1403.0.22.14.1) running to errors like #5477 where functions without argument lists at least need void. Looking for possible suspect functions via: git grep -E "^([A-Za-z_]+ )?[A-Za-z_]+\()" \*.c \*.m
This commit is contained in:
@@ -47,7 +47,7 @@ user_cache_dir(void) {
|
||||
}
|
||||
|
||||
static PyObject*
|
||||
process_group_map() {
|
||||
process_group_map(void) {
|
||||
int num_of_processes = proc_listallpids(NULL, 0);
|
||||
size_t bufsize = sizeof(pid_t) * (num_of_processes + 1024);
|
||||
FREE_AFTER_FUNCTION pid_t *buf = malloc(bufsize);
|
||||
|
||||
Reference in New Issue
Block a user