[host] cleanup some missing (void) parameters

This commit is contained in:
Tudor Brindus
2022-02-08 00:10:31 -05:00
committed by Geoffrey McRae
parent 0ea188faf8
commit 9ddfa585ec
5 changed files with 12 additions and 12 deletions

View File

@@ -87,7 +87,7 @@ bool os_getAndClearPendingActivationRequest(void)
return false;
}
bool os_blockScreensaver()
bool os_blockScreensaver(void)
{
return false;
}
@@ -111,7 +111,7 @@ KVMFROS os_getKVMFRType(void)
return KVMFR_OS_LINUX;
}
static const char * getPrettyName()
static const char * getPrettyName(void)
{
static char buffer[256];

View File

@@ -300,7 +300,7 @@ const char *getSystemLogDirectory(void)
return app.systemLogDir;
}
static void populateSystemLogDirectory()
static void populateSystemLogDirectory(void)
{
char programData[MAX_PATH];
if (GetEnvironmentVariableA("ProgramData", programData, sizeof(programData)) &&
@@ -593,7 +593,7 @@ bool os_getAndClearPendingActivationRequest(void)
return atomic_exchange(&app.hasPendingActivationRequest, false);
}
bool os_blockScreensaver()
bool os_blockScreensaver(void)
{
static bool lastResult = false;
static ULONGLONG lastCheck = 0;

View File

@@ -58,7 +58,7 @@ struct Service service = { 0 };
char logTime[100];
char * currentTime()
char * currentTime(void)
{
time_t t = time(NULL);
strftime(logTime, sizeof logTime, "%Y-%m-%d %H:%M:%S", localtime(&t));