From 6d759051d3998614524b8186a27f44dc98986546 Mon Sep 17 00:00:00 2001 From: Ryan Libby Date: Fri, 11 Dec 2020 22:52:16 +0000 Subject: [PATCH] fdgrowtable_test.c: appease gcc Work around bogus gcc -Wreturn-type. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44511 Reviewed by: kevans, rew Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D27563 --- tests/sys/kern/fdgrowtable_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/kern/fdgrowtable_test.c b/tests/sys/kern/fdgrowtable_test.c index a64953abc470..794342eaa808 100644 --- a/tests/sys/kern/fdgrowtable_test.c +++ b/tests/sys/kern/fdgrowtable_test.c @@ -151,7 +151,7 @@ ATF_TC_BODY(free_oldtables, tc) ATF_CHECK(old_tables(kd,kp) == 0); } -static void * +static _Noreturn void * exec_thread(void *args) { for (;;)