From 9a4879b48f9ca1a39aa4eaa67bccc171cd5bca35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Thu, 4 Aug 2022 21:09:44 +0200 Subject: 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 --- Process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Process.c') diff --git a/Process.c b/Process.c index 218845b1..0ed556ba 100644 --- a/Process.c +++ b/Process.c @@ -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; -- cgit v1.2.3