mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[host] cleanup some missing (void) parameters
This commit is contained in:

committed by
Geoffrey McRae

parent
0ea188faf8
commit
9ddfa585ec
@@ -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];
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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));
|
||||
|
Reference in New Issue
Block a user