svn commit: r368569 - head/tests/sys/kern

Ryan Libby rlibby at FreeBSD.org
Fri Dec 11 22:52:23 UTC 2020


Author: rlibby
Date: Fri Dec 11 22:52:16 2020
New Revision: 368569
URL: https://svnweb.freebsd.org/changeset/base/368569

Log:
  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

Modified:
  head/tests/sys/kern/fdgrowtable_test.c

Modified: head/tests/sys/kern/fdgrowtable_test.c
==============================================================================
--- head/tests/sys/kern/fdgrowtable_test.c	Fri Dec 11 22:52:12 2020	(r368568)
+++ head/tests/sys/kern/fdgrowtable_test.c	Fri Dec 11 22:52:16 2020	(r368569)
@@ -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 (;;)


More information about the svn-src-head mailing list