mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-16 01:31:06 +00:00
Fix some compiler warnings in testdisk.c
This commit is contained in:
parent
3a20c96296
commit
785577e252
@ -1436,12 +1436,16 @@ GREATEST_MAIN_DEFS();
|
|||||||
static char **test_argv = NULL;
|
static char **test_argv = NULL;
|
||||||
static int test_argc = 0;
|
static int test_argc = 0;
|
||||||
|
|
||||||
static void *test_thread(void *dummyptr) {
|
static int _test_thread(void) {
|
||||||
int argc = test_argc;
|
int argc = test_argc;
|
||||||
char **argv = test_argv;
|
char **argv = test_argv;
|
||||||
GREATEST_MAIN_BEGIN();
|
GREATEST_MAIN_BEGIN();
|
||||||
RUN_SUITE(test_suite_disk);
|
RUN_SUITE(test_suite_disk);
|
||||||
GREATEST_MAIN_END();
|
GREATEST_MAIN_END();
|
||||||
|
}
|
||||||
|
|
||||||
|
static void *test_thread(void *dummyptr) {
|
||||||
|
_test_thread();
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user