summaryrefslogtreecommitdiffstats
path: root/UnitTestFrameworkPkg
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2021-12-02 18:01:01 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-12-07 17:24:28 +0000
commit78bc3bdd2ac5627e497b14e72e5c918173338a45 (patch)
tree4ce6246c3ed6b92c50e4ee55cb69171a62f76f40 /UnitTestFrameworkPkg
parente35dd3282157b2c9418999828c6dad695f148142 (diff)
downloadedk2-78bc3bdd2ac5627e497b14e72e5c918173338a45.tar.gz
edk2-78bc3bdd2ac5627e497b14e72e5c918173338a45.tar.bz2
edk2-78bc3bdd2ac5627e497b14e72e5c918173338a45.zip
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>
Diffstat (limited to 'UnitTestFrameworkPkg')
-rw-r--r--UnitTestFrameworkPkg/Library/UnitTestLib/Log.c2
-rw-r--r--UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/UnitTestFrameworkPkg/Library/UnitTestLib/Log.c b/UnitTestFrameworkPkg/Library/UnitTestLib/Log.c
index ac4e229b40..d9838105e2 100644
--- a/UnitTestFrameworkPkg/Library/UnitTestLib/Log.c
+++ b/UnitTestFrameworkPkg/Library/UnitTestLib/Log.c
@@ -109,7 +109,7 @@ VOID
EFIAPI
UnitTestLogInit (
IN OUT UNIT_TEST *Test,
- IN UINT8 *Buffer, OPTIONAL
+ IN UINT8 *Buffer OPTIONAL,
IN UINTN BufferSize OPTIONAL
)
{
diff --git a/UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.c b/UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.c
index 4a6bbd752c..bcecdd1aa6 100644
--- a/UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.c
+++ b/UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.c
@@ -604,7 +604,7 @@ STATIC
UNIT_TEST_SAVE_HEADER*
SerializeState (
IN UNIT_TEST_FRAMEWORK_HANDLE FrameworkHandle,
- IN UNIT_TEST_CONTEXT ContextToSave, OPTIONAL
+ IN UNIT_TEST_CONTEXT ContextToSave OPTIONAL,
IN UINTN ContextToSaveSize
)
{