Page MenuHomeFreeBSD

libefi/time.c cstyle cleanup
ClosedPublic

Authored by tsoome on Aug 4 2017, 9:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 9, 6:29 AM
Unknown Object (File)
Tue, Jun 2, 5:14 PM
Unknown Object (File)
May 5 2026, 11:16 PM
Unknown Object (File)
Apr 30 2026, 5:20 PM
Unknown Object (File)
Apr 27 2026, 10:04 PM
Unknown Object (File)
Apr 27 2026, 4:00 PM
Unknown Object (File)
Apr 27 2026, 10:48 AM
Unknown Object (File)
Apr 21 2026, 8:13 AM
Subscribers

Details

Summary

The libefi time.c is mix of different styles, lets make it clean.

also, one 0 versus NULL and uninitialized tv struct issue - should those perhaps get their own commits?

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

royger added inline comments.
sys/boot/efi/libefi/time.c
268 โ†—(On Diff #31563)

Missing newline, no initialization with declaration.

278 โ†—(On Diff #31563)

Missing newline

This looks pretty good to me. royger's comments are correct, but I'm not a stickler for that stuff.

Looks like I committed this in pass-through mode. my bad. thanks for cleaning this up.

This revision is now accepted and ready to land.Aug 4 2017, 4:40 PM
tsoome edited edge metadata.

Added missing newlines.

This revision now requires review to proceed.Aug 5 2017, 5:03 AM
tsoome marked an inline comment as done.

use memset instead of initializer

This revision was automatically updated to reflect the committed changes.