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)
Dec 20 2023, 7:49 AM
Unknown Object (File)
Dec 6 2023, 11:46 PM
Unknown Object (File)
Dec 1 2023, 3:44 PM
Unknown Object (File)
Nov 28 2023, 3:56 AM
Unknown Object (File)
Nov 25 2023, 9:50 PM
Unknown Object (File)
Nov 25 2023, 11:09 AM
Unknown Object (File)
Nov 25 2023, 3:41 AM
Unknown Object (File)
Nov 22 2023, 4:01 PM
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.