From c3952e7c20a3108c2f16aa579f8062dfc2163bd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 8 Sep 2020 14:28:34 +0200 Subject: Use strict function prototypes int foo(); declares a function taking any number of arguments. --- darwin/Platform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'darwin') diff --git a/darwin/Platform.h b/darwin/Platform.h index 7dd4ae60..6c038587 100644 --- a/darwin/Platform.h +++ b/darwin/Platform.h @@ -28,11 +28,11 @@ void Platform_setBindings(Htop_Action* keys); extern int Platform_numberOfFields; -int Platform_getUptime(); +int Platform_getUptime(void); void Platform_getLoadAverage(double* one, double* five, double* fifteen); -int Platform_getMaxPid(); +int Platform_getMaxPid(void); extern ProcessPidColumn Process_pidColumns[]; -- cgit v1.2.3