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. --- CRT.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'CRT.h') 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); -- cgit v1.2.3