summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Include/Library
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2021-12-02 18:00:53 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-12-07 17:24:28 +0000
commit79d49e162ed753a4e233af0cce36f68e18a06c03 (patch)
tree399b4b219661d3b00d7c96d0e36c36226a7fac62 /OvmfPkg/Include/Library
parent8874fa199dd7be550f20e3fc78861022eb826728 (diff)
downloadedk2-79d49e162ed753a4e233af0cce36f68e18a06c03.tar.gz
edk2-79d49e162ed753a4e233af0cce36f68e18a06c03.tar.bz2
edk2-79d49e162ed753a4e233af0cce36f68e18a06c03.zip
OvmfPkg: 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: Andrew Fish <afish@apple.com>
Diffstat (limited to 'OvmfPkg/Include/Library')
-rw-r--r--OvmfPkg/Include/Library/QemuFwCfgS3Lib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/OvmfPkg/Include/Library/QemuFwCfgS3Lib.h b/OvmfPkg/Include/Library/QemuFwCfgS3Lib.h
index 446b960249..4103659282 100644
--- a/OvmfPkg/Include/Library/QemuFwCfgS3Lib.h
+++ b/OvmfPkg/Include/Library/QemuFwCfgS3Lib.h
@@ -87,7 +87,7 @@ QemuFwCfgS3Enabled (
**/
typedef
VOID (EFIAPI FW_CFG_BOOT_SCRIPT_CALLBACK_FUNCTION) (
- IN OUT VOID *Context, OPTIONAL
+ IN OUT VOID *Context OPTIONAL,
IN OUT VOID *ScratchBuffer
);
@@ -153,7 +153,7 @@ RETURN_STATUS
EFIAPI
QemuFwCfgS3CallWhenBootScriptReady (
IN FW_CFG_BOOT_SCRIPT_CALLBACK_FUNCTION *Callback,
- IN OUT VOID *Context, OPTIONAL
+ IN OUT VOID *Context OPTIONAL,
IN UINTN ScratchBufferSize
);