Page MenuHomeFreeBSD

syslogd: Rearrange syslogd.c
AbandonedPublic

Authored by jfree on Aug 8 2023, 4:39 PM.
Tags
None
Referenced Files
F132228177: D41385.diff
Wed, Oct 15, 12:04 AM
Unknown Object (File)
Thu, Oct 9, 7:46 PM
Unknown Object (File)
Thu, Oct 9, 1:01 AM
Unknown Object (File)
Fri, Oct 3, 2:28 AM
Unknown Object (File)
Mon, Sep 29, 11:04 AM
Unknown Object (File)
Sep 12 2025, 12:57 PM
Unknown Object (File)
Jul 30 2025, 12:30 AM
Unknown Object (File)
Jul 11 2025, 4:37 PM
Subscribers

Details

Reviewers
emaste
markj
Summary
  • Alphabetically order global variables
  • Remove declarations for static functions
  • Reorder functions according to static declaration

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

jfree requested review of this revision.Aug 8 2023, 4:39 PM

I'm not a big fan of reordering functions like this, since that makes git blame quite useless for little gain. In general this kind of commit should come at the end of a patch stack if at all. If it's too painful to reorder it then ok, just something to keep in mind for next time.

I'm not a big fan of reordering functions like this, since that makes git blame quite useless for little gain. In general this kind of commit should come at the end of a patch stack if at all. If it's too painful to reorder it then ok, just something to keep in mind for next time.

I concur. I will just drop this one. It'll make rebasing horrible too.
The negatives far outweigh the positives.