enabled and fixed -Wmissing-prototypes compiler warnings

Co-authored-by: matt335672 <30179339+matt335672@users.noreply.github.com>
This commit is contained in:
firewave
2023-10-20 17:14:47 +02:00
parent f92076a2e7
commit fb9c175b11
40 changed files with 183 additions and 144 deletions
+6 -6
View File
@@ -27,7 +27,7 @@
/*****************************************************************************/
/* return error */
int
static int
lib_mod_start(struct mod *mod, int w, int h, int bpp)
{
LOG_DEVEL(LOG_LEVEL_TRACE, "in lib_mod_start");
@@ -40,7 +40,7 @@ lib_mod_start(struct mod *mod, int w, int h, int bpp)
/******************************************************************************/
/* return error */
int
static int
lib_mod_connect(struct mod *mod)
{
LOG_DEVEL(LOG_LEVEL_TRACE, "in lib_mod_connect");
@@ -50,7 +50,7 @@ lib_mod_connect(struct mod *mod)
/******************************************************************************/
/* return error */
int
static int
lib_mod_event(struct mod *mod, int msg, long param1, long param2,
long param3, long param4)
{
@@ -61,7 +61,7 @@ lib_mod_event(struct mod *mod, int msg, long param1, long param2,
/******************************************************************************/
/* return error */
int
static int
lib_mod_signal(struct mod *mod)
{
LOG_DEVEL(LOG_LEVEL_TRACE, "in lib_mod_signal");
@@ -71,7 +71,7 @@ lib_mod_signal(struct mod *mod)
/******************************************************************************/
/* return error */
int
static int
lib_mod_end(struct mod *mod)
{
return 0;
@@ -79,7 +79,7 @@ lib_mod_end(struct mod *mod)
/******************************************************************************/
/* return error */
int
static int
lib_mod_set_param(struct mod *mod, const char *name, const char *value)
{
return 0;