Page MenuHomeFreeBSD

style: Use static consistently
ClosedPublic

Authored by imp on May 28 2025, 9:49 PM.
Tags
None
Referenced Files
F132277852: D50588.diff
Wed, Oct 15, 11:02 AM
Unknown Object (File)
Sat, Oct 4, 11:19 AM
Unknown Object (File)
Fri, Oct 3, 3:39 PM
Unknown Object (File)
Wed, Oct 1, 5:12 PM
Unknown Object (File)
Tue, Sep 30, 4:11 PM
Unknown Object (File)
Tue, Sep 30, 9:13 AM
Unknown Object (File)
Mon, Sep 22, 3:17 AM
Unknown Object (File)
Sat, Sep 20, 7:57 PM
Subscribers

Details

Summary

C doesn't require that we have static on both the declaration and
definition of a function. But stylistically, FreeBSD does. Make that
so. Also make a function static that wasn't because, it seems, that
static and struct look a lot alike in a column of text.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.May 28 2025, 9:49 PM
This revision is now accepted and ready to land.May 29 2025, 12:57 PM
This revision now requires review to proceed.May 29 2025, 6:18 PM
This revision is now accepted and ready to land.May 30 2025, 6:49 AM
This revision was automatically updated to reflect the committed changes.