Page MenuHomeFreeBSD

syslogd: Rearrange syslogd.c
AbandonedPublic

Authored by jfree on Aug 8 2023, 4:39 PM.
Tags
None
Referenced Files
F135459733: D41385.id.diff
Mon, Nov 10, 1:20 AM
Unknown Object (File)
Sat, Nov 8, 7:54 AM
Unknown Object (File)
Sat, Nov 8, 7:54 AM
Unknown Object (File)
Sat, Nov 8, 4:43 AM
Unknown Object (File)
Fri, Nov 7, 7:50 AM
Unknown Object (File)
Fri, Nov 7, 7:33 AM
Unknown Object (File)
Sat, Nov 1, 2:45 AM
Unknown Object (File)
Wed, Oct 15, 12:04 AM
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.