summaryrefslogtreecommitdiffstats
path: root/CRT.h
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 /CRT.h
parent7107d1db0b3361a3e880d903a45920b64a05e9d6 (diff)
Use strict function prototypes
int foo(); declares a function taking any number of arguments.
Diffstat (limited to 'CRT.h')
-rw-r--r--CRT.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/CRT.h b/CRT.h
index d7d01e2c..20ef283e 100644
--- a/CRT.h
+++ b/CRT.h
@@ -149,9 +149,9 @@ extern void *backtraceArray[128];
#if HAVE_SETUID_ENABLED
-void CRT_dropPrivileges();
+void CRT_dropPrivileges(void);
-void CRT_restorePrivileges();
+void CRT_restorePrivileges(void);
#else
@@ -166,15 +166,15 @@ void CRT_restorePrivileges();
void CRT_init(int delay, int colorScheme, bool allowUnicode);
-void CRT_done();
+void CRT_done(void);
void CRT_fatalError(const char* note);
-int CRT_readKey();
+int CRT_readKey(void);
-void CRT_disableDelay();
+void CRT_disableDelay(void);
-void CRT_enableDelay();
+void CRT_enableDelay(void);
void CRT_setColors(int colorScheme);

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