summaryrefslogtreecommitdiffstats
path: root/darwin
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-09-08 14:28:34 +0200
committercgzones <cgzones@googlemail.com>2020-09-18 12:28:40 +0200
commitc3952e7c20a3108c2f16aa579f8062dfc2163bd8 (patch)
tree161c8de1766dc15e97cd2705d638719bd2202af7 /darwin
parent7107d1db0b3361a3e880d903a45920b64a05e9d6 (diff)
Use strict function prototypes
int foo(); declares a function taking any number of arguments.
Diffstat (limited to 'darwin')
-rw-r--r--darwin/Platform.h4
1 files changed, 2 insertions, 2 deletions
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[];

© 2014-2024 Faster IT GmbH | imprint | privacy policy