UnitTestFrameworkPkg: Change OPTIONAL keyword usage style

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3760

Update all use of ', OPTIONAL' to ' OPTIONAL,' for function params.

Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Bret Barkelew <bret.barkelew@microsoft.com>
This commit is contained in:
Michael D Kinney 2021-12-02 18:01:01 -08:00 committed by mergify[bot]
parent e35dd32821
commit 78bc3bdd2a
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ VOID
EFIAPI EFIAPI
UnitTestLogInit ( UnitTestLogInit (
IN OUT UNIT_TEST *Test, IN OUT UNIT_TEST *Test,
IN UINT8 *Buffer, OPTIONAL IN UINT8 *Buffer OPTIONAL,
IN UINTN BufferSize OPTIONAL IN UINTN BufferSize OPTIONAL
) )
{ {

View File

@ -604,7 +604,7 @@ STATIC
UNIT_TEST_SAVE_HEADER* UNIT_TEST_SAVE_HEADER*
SerializeState ( SerializeState (
IN UNIT_TEST_FRAMEWORK_HANDLE FrameworkHandle, IN UNIT_TEST_FRAMEWORK_HANDLE FrameworkHandle,
IN UNIT_TEST_CONTEXT ContextToSave, OPTIONAL IN UNIT_TEST_CONTEXT ContextToSave OPTIONAL,
IN UINTN ContextToSaveSize IN UINTN ContextToSaveSize
) )
{ {