diff options
-rw-r--r-- | test/unittests/unit_list.c | 2 | ||||
-rw-r--r-- | test/unittests/unit_maybe_alloc.c | 2 | ||||
-rw-r--r-- | test/unittests/unit_preallocable.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/test/unittests/unit_list.c b/test/unittests/unit_list.c index 10697909..4c2063b6 100644 --- a/test/unittests/unit_list.c +++ b/test/unittests/unit_list.c @@ -128,4 +128,6 @@ int main(int argc, char **argv) { //return cmocka_run_group_tests (tests, setup, teardown); __real_exit( cmocka_run_group_tests (tests, NULL, NULL) ); + // fake return for dumb compilers + return 0; } diff --git a/test/unittests/unit_maybe_alloc.c b/test/unittests/unit_maybe_alloc.c index d9b3a0d4..429d38ed 100644 --- a/test/unittests/unit_maybe_alloc.c +++ b/test/unittests/unit_maybe_alloc.c @@ -158,4 +158,6 @@ int main(int argc, char **argv) { //return cmocka_run_group_tests (tests, setup, teardown); __real_exit( cmocka_run_group_tests (tests, NULL, NULL) ); + // fake return for dumb compilers + return 0; } diff --git a/test/unittests/unit_preallocable.c b/test/unittests/unit_preallocable.c index a6c42bbb..b0963a15 100644 --- a/test/unittests/unit_preallocable.c +++ b/test/unittests/unit_preallocable.c @@ -111,4 +111,6 @@ int main(int argc, char **argv) { //return cmocka_run_group_tests (tests, setup, teardown); __real_exit( cmocka_run_group_tests (tests, NULL, NULL) ); + // fake return for dumb compilers + return 0; } |