mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 20:44:35 +03:00
Use strict function prototypes
int foo(); declares a function taking any number of arguments.
This commit is contained in:

committed by
cgzones

parent
7107d1db0b
commit
c3952e7c20
12
CRT.h
12
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);
|
||||
|
||||
|
Reference in New Issue
Block a user