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
F151736767: D30248.diff
Fri, Apr 10, 8:43 AM
Unknown Object (File)
Tue, Apr 7, 1:19 PM
Unknown Object (File)
Fri, Apr 3, 10:13 AM
Unknown Object (File)
Fri, Apr 3, 12:02 AM
Unknown Object (File)
Mon, Mar 30, 3:26 PM
Unknown Object (File)
Sun, Mar 29, 7:55 PM
Unknown Object (File)
Sun, Mar 29, 12:45 AM
Unknown Object (File)
Thu, Mar 26, 3:43 AM
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.