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)
Mon, Jan 20, 1:45 AM
Unknown Object (File)
Wed, Jan 15, 12:27 PM
Unknown Object (File)
Tue, Jan 7, 7:17 PM
Unknown Object (File)
Dec 12 2024, 6:32 PM
Unknown Object (File)
Nov 16 2024, 8:36 PM
Unknown Object (File)
Nov 9 2024, 11:55 PM
Unknown Object (File)
Nov 1 2024, 1:09 AM
Unknown Object (File)
Oct 4 2024, 1:28 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.