Page MenuHomeFreeBSD

run uncrustify over vtfontcvt.c
Needs ReviewPublic

Authored by domagoj.stolfa_gmail.com on May 13 2021, 3:16 PM.
Tags
None
Referenced Files
F108605712: D30248.id89138.diff
Sun, Jan 26, 8:08 PM
Unknown Object (File)
Wed, Jan 22, 9:44 PM
Unknown Object (File)
Fri, Jan 17, 6:30 PM
Unknown Object (File)
Wed, Jan 8, 4:16 AM
Unknown Object (File)
Tue, Jan 7, 11:52 AM
Unknown Object (File)
Tue, Jan 7, 11:50 AM
Unknown Object (File)
Tue, Jan 7, 11:25 AM
Unknown Object (File)
Sun, Jan 5, 10:17 PM
Subscribers

Details

Reviewers
emaste
Summary

Posted as an example of running a FreeBSD-ish uncrustify config (https://reviews.freebsd.org/P500: based on https://github.com/freebsd/pkg/blob/master/freebsd.cfg with minor changes) over vtfontcvt.c to compare to https://reviews.freebsd.org/D26340.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

usr.bin/vtfontcvt/vtfontcvt.c
56

This whole struct is not great.

65

Should the brace be on a new line here?

225

TAILQ_FOREACH is treated as a for loop here through:

set FOR TAILQ_FOREACH

should it be?

573

This is wrong

581

Same as line 573

1126

This doesn't look right.

Remove a whole bunch of noise compared to the previous diff.