aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRyan Libby <rlibby@FreeBSD.org>2020-12-11 22:52:16 +0000
committerRyan Libby <rlibby@FreeBSD.org>2020-12-11 22:52:16 +0000
commit6d759051d3998614524b8186a27f44dc98986546 (patch)
tree42bad1dc3044191273d512a4a89e3d101f586958 /tests
parent61261ef5896ded2451fa6f60e0123a38d5c98ee9 (diff)
downloadsrc-6d759051d3998614524b8186a27f44dc98986546.tar.gz
src-6d759051d3998614524b8186a27f44dc98986546.zip
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
Notes
Notes: svn path=/head/; revision=368569
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/kern/fdgrowtable_test.c2
1 files changed, 1 insertions, 1 deletions
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 (;;)