Page MenuHomeFreeBSD

style: Use static consistently
ClosedPublic

Authored by imp on May 28 2025, 9:49 PM.
Tags
None
Referenced Files
F145566202: D50588.id156266.diff
Sat, Feb 21, 2:07 PM
Unknown Object (File)
Fri, Feb 20, 10:37 AM
Unknown Object (File)
Mon, Feb 2, 2:32 AM
Unknown Object (File)
Sun, Feb 1, 8:48 PM
Unknown Object (File)
Sun, Jan 25, 10:49 AM
Unknown Object (File)
Jan 18 2026, 12:50 PM
Unknown Object (File)
Jan 7 2026, 9:54 PM
Unknown Object (File)
Dec 28 2025, 9:55 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 64537
Build 61421: arc lint + arc unit

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.