[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 authored and Geoffrey McRae committed 2022-02-25 20:38:44 +11:00
1 parent 7387a4a8e1
commit 91d6e3a82a
7 files changed
+20 -20

No files matched your search

+1 -1
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[] =
{
+2 -2
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);
+1 -1
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");
+1 -1
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);