Merge pull request #569 from reboot/fix_test_compiler_warnings

test: Fix compiler warnings about incompatible pointer type
This commit is contained in:
Jim
2016-07-18 08:58:34 -07:00
committed by GitHub
3 changed files with 6 additions and 3 deletions

View File

@@ -5,8 +5,9 @@ struct test_filter {
gs_effect_t *whatever;
};
static const char *filter_getname(void)
static const char *filter_getname(void *unused)
{
UNUSED_PARAMETER(unused);
return "Test";
}

View File

@@ -10,8 +10,9 @@ struct random_tex {
bool initialized;
};
static const char *random_getname(void)
static const char *random_getname(void *unused)
{
UNUSED_PARAMETER(unused);
return "20x20 Random Pixel Texture Source (Test)";
}

View File

@@ -58,8 +58,9 @@ static void *sinewave_thread(void *pdata)
/* ------------------------------------------------------------------------- */
static const char *sinewave_getname(void)
static const char *sinewave_getname(void *unused)
{
UNUSED_PARAMETER(unused);
return "Sinewave Sound Source (Test)";
}