Page MenuHomeFreeBSD

fdgrowtable_test.c: appease gcc
ClosedPublic

Authored by rlibby on Dec 10 2020, 10:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 14 2024, 9:53 AM
Unknown Object (File)
Oct 14 2024, 9:53 AM
Unknown Object (File)
Oct 14 2024, 9:53 AM
Unknown Object (File)
Oct 14 2024, 9:52 AM
Unknown Object (File)
Oct 14 2024, 9:50 AM
Unknown Object (File)
Sep 29 2024, 9:05 PM
Unknown Object (File)
Sep 29 2024, 9:05 PM
Unknown Object (File)
Sep 29 2024, 9:05 PM
Subscribers

Details

Summary

Work around bogus gcc -Wreturn-type.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44511

Test Plan
env MAKEOBJDIRPREFIX=/usr/obj/gcc6 CROSS_TOOLCHAIN=amd64-gcc make buildworld
env MAKEOBJDIRPREFIX=/usr/obj/clang make buildworld

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35333
Build 32262: arc lint + arc unit

Event Timeline

Looks good.

tests/sys/kern/fdgrowtable_test.c
154

maybe static _Noreturn void *?

This revision is now accepted and ready to land.Dec 10 2020, 11:00 PM

rew feedback: reorder keywords

This revision now requires review to proceed.Dec 10 2020, 11:08 PM
This revision is now accepted and ready to land.Dec 10 2020, 11:12 PM
This revision was automatically updated to reflect the committed changes.