mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-14 03:20:22 +00:00
[client] allow building with -Wstrict-prototypes
This is not yet turned on because cimgui does not build with it enabled.
This commit is contained in:

committed by
Geoffrey McRae

parent
7387a4a8e1
commit
91d6e3a82a
@@ -46,7 +46,7 @@ static bool optScancodeValidate(struct Option * opt, const char ** error);
|
||||
static char * optScancodeToString(struct Option * opt);
|
||||
static bool optRotateValidate (struct Option * opt, const char ** error);
|
||||
|
||||
static void doLicense();
|
||||
static void doLicense(void);
|
||||
|
||||
static struct Option options[] =
|
||||
{
|
||||
|
@@ -20,6 +20,6 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
void config_init();
|
||||
void config_init(void);
|
||||
bool config_load(int argc, char * argv[]);
|
||||
void config_free();
|
||||
void config_free(void);
|
||||
|
@@ -981,7 +981,7 @@ static bool tryRenderer(const int index, const LG_RendererParams lgrParams,
|
||||
return true;
|
||||
}
|
||||
|
||||
static void reportBadVersion()
|
||||
static void reportBadVersion(void)
|
||||
{
|
||||
DEBUG_BREAK();
|
||||
DEBUG_ERROR("The host application is not compatible with this client");
|
||||
|
@@ -44,7 +44,7 @@ void overlayAlert_show(LG_MsgAlert type, const char * fmt, va_list args);
|
||||
|
||||
GraphHandle overlayGraph_register(const char * name, RingBuffer buffer,
|
||||
float min, float max, GraphFormatFn formatFn);
|
||||
void overlayGraph_unregister();
|
||||
void overlayGraph_unregister(GraphHandle handle);
|
||||
void overlayGraph_iterate(void (*callback)(GraphHandle handle, const char * name,
|
||||
bool * enabled, void * udata), void * udata);
|
||||
void overlayGraph_invalidate(GraphHandle handle);
|
||||
|
Reference in New Issue
Block a user