]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UnitTestFrameworkPkg: Change OPTIONAL keyword usage style
authorMichael D Kinney <michael.d.kinney@intel.com>
Fri, 3 Dec 2021 02:01:01 +0000 (18:01 -0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 7 Dec 2021 17:24:28 +0000 (17:24 +0000)
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>
UnitTestFrameworkPkg/Library/UnitTestLib/Log.c
UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.c

index ac4e229b40716afb28938882487666c8007ec44f..d9838105e20820dbd199747759c788d7137d6fb3 100644 (file)
@@ -109,7 +109,7 @@ VOID
 EFIAPI\r
 UnitTestLogInit (\r
   IN OUT UNIT_TEST  *Test,\r
-  IN     UINT8      *Buffer,     OPTIONAL\r
+  IN     UINT8      *Buffer      OPTIONAL,\r
   IN     UINTN      BufferSize   OPTIONAL\r
   )\r
 {\r
index 4a6bbd752c766ea71268bffc22e0cbe682b5cac2..bcecdd1aa64dc5c433a7a2930dca5583434efb92 100644 (file)
@@ -604,7 +604,7 @@ STATIC
 UNIT_TEST_SAVE_HEADER*\r
 SerializeState (\r
   IN UNIT_TEST_FRAMEWORK_HANDLE  FrameworkHandle,\r
-  IN UNIT_TEST_CONTEXT           ContextToSave,      OPTIONAL\r
+  IN UNIT_TEST_CONTEXT           ContextToSave       OPTIONAL,\r
   IN UINTN                       ContextToSaveSize\r
   )\r
 {\r