diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2022-08-04 21:09:44 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2022-08-09 20:30:05 +0200 |
commit | 9a4879b48f9ca1a39aa4eaa67bccc171cd5bca35 (patch) | |
tree | ea05b3a733209b83bcebc40a8f8af120ac8ebfca /Process.c | |
parent | 3e1908b80ab214b7b449b49183d1bd5d39c174e3 (diff) |
Please Clang 15
CRT.c:1015:14: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
void CRT_done() {
^
void
Diffstat (limited to 'Process.c')
-rw-r--r-- | Process.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -44,7 +44,7 @@ static uid_t Process_getuid = (uid_t)-1; int Process_pidDigits = PROCESS_MIN_PID_DIGITS; int Process_uidDigits = PROCESS_MIN_UID_DIGITS; -void Process_setupColumnWidths() { +void Process_setupColumnWidths(void) { int maxPid = Platform_getMaxPid(); if (maxPid == -1) return; @@ -1240,7 +1240,7 @@ void Process_updateExe(Process* this, const char* exe) { uint8_t Process_fieldWidths[LAST_PROCESSFIELD] = { 0 }; -void Process_resetFieldWidths() { +void Process_resetFieldWidths(void) { for (size_t i = 0; i < LAST_PROCESSFIELD; i++) { if (!Process_fields[i].autoWidth) continue; |