[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:
Tudor Brindus
2022-02-20 11:38:58 -05:00
committed by Geoffrey McRae
parent 7387a4a8e1
commit 91d6e3a82a
7 changed files with 20 additions and 20 deletions

View File

@@ -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[] =
{

View File

@@ -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);

View File

@@ -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");

View File

@@ -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);