Page MenuHomeFreeBSD

syslogd: Fix sizeof() styling
ClosedPublic

Authored by jfree on Aug 8 2023, 3:40 PM.
Tags
None
Referenced Files
F108737239: D41376.id125888.diff
Mon, Jan 27, 3:26 PM
F108736722: D41376.id127958.diff
Mon, Jan 27, 3:21 PM
F108733520: D41376.id125846.diff
Mon, Jan 27, 2:54 PM
Unknown Object (File)
Mon, Jan 27, 12:33 AM
Unknown Object (File)
Sat, Jan 18, 9:26 PM
Unknown Object (File)
Sat, Jan 18, 9:16 PM
Unknown Object (File)
Sat, Jan 18, 5:51 AM
Unknown Object (File)
Fri, Jan 17, 3:07 PM
Subscribers

Details

Summary

Use parentheses when applying sizeof() per style(9).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

when calling sizeof()

We don't really "call" sizeof (why parens aren't needed) so perhaps "with sizeof()"

This revision is now accepted and ready to land.Aug 8 2023, 3:43 PM

when calling sizeof()

We don't really "call" sizeof (why parens aren't needed) so perhaps "with sizeof()"

Right, sizeof is an operator, so "when applying sizeof" would be more appropriate if you wanted to keep the original sentence structure.

jfree edited the summary of this revision. (Show Details)

Update after rebase

This revision now requires review to proceed.Aug 10 2023, 11:14 PM
This revision is now accepted and ready to land.Aug 11 2023, 3:00 PM

Update to avoid rebase conflict

This revision now requires review to proceed.Aug 11 2023, 6:22 PM
This revision is now accepted and ready to land.Aug 14 2023, 2:23 PM
This revision was automatically updated to reflect the committed changes.