mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[host] cleanup some missing (void) parameters
This commit is contained in:
parent
0ea188faf8
commit
9ddfa585ec
@ -35,17 +35,17 @@
|
||||
#define LG_HOST_EXIT_FATAL 0x50
|
||||
|
||||
int app_main(int argc, char * argv[]);
|
||||
bool app_init();
|
||||
void app_shutdown();
|
||||
void app_quit();
|
||||
bool app_init(void);
|
||||
void app_shutdown(void);
|
||||
void app_quit(void);
|
||||
|
||||
// these must be implemented for each OS
|
||||
const char * os_getExecutable();
|
||||
const char * os_getDataPath();
|
||||
const char * os_getExecutable(void);
|
||||
const char * os_getDataPath(void);
|
||||
void os_showMessage(const char * caption, const char * msg);
|
||||
|
||||
bool os_getAndClearPendingActivationRequest(void);
|
||||
bool os_blockScreensaver();
|
||||
bool os_blockScreensaver(void);
|
||||
bool os_hasSetCursorPos(void);
|
||||
void os_setCursorPos(int x, int y);
|
||||
|
||||
|
@ -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));
|
||||
|
@ -510,7 +510,7 @@ void capturePostPointerBuffer(CapturePointer pointer)
|
||||
LG_UNLOCK(app.pointerLock);
|
||||
}
|
||||
|
||||
static void lgmpShutdown()
|
||||
static void lgmpShutdown(void)
|
||||
{
|
||||
if (app.lgmpTimer)
|
||||
lgTimerDestroy(app.lgmpTimer);
|
||||
|
Loading…
Reference in New Issue
Block a user