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

Warner Losh <[email protected]>
Newsgroups gmane.os.freebsd.architechture
Message-ID <CANCZdfqgjM52fVoCbEo0PteW7+Gz5L0CJ=yBZ+KshVUY7Utx1A@mail.gmail.com>
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

Warner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.