Re: Stlye(9) strengthen statements on not using K&R function definitions

From: Shawn Webb <shawn.webb_at_hardenedbsd.org>
Date: Tue, 20 Sep 2022 15:38:01 UTC
On Tue, Jul 26, 2022 at 10:31:17AM -0600, Warner Losh wrote:
> Greetings
> 
> I've posted a review https://reviews.freebsd.org/D35945 which strengths
> statements about K&R definitions and declarations: don't use them. Most of
> the K&R code has been removed from the tree (ufs being the last straggler).
> Future versions of the C standard will remove the K&R definitions and
> declaration syntax. clang 15 will whine about this construct.
> 
> The time is ripe to move to language that suggests an outright prohibition.
> 
> Comments about language? Make them in phabricator.
> Comments about the idea? Reply here

FYI: I did notice the other day that less(1) strictly uses K&R.

-- 
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc