summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Protocol/Tls.h
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2021-12-02 18:00:50 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-12-07 17:24:28 +0000
commitd0e2f8232a26453fc0191629ed44ff2a46ea073e (patch)
tree0a1ee9b5ba30087f1a37933da15195e3a24a5d80 /MdePkg/Include/Protocol/Tls.h
parente3917e22e769898bb0d08d0112e768437f1ff9fb (diff)
downloadedk2-d0e2f8232a26453fc0191629ed44ff2a46ea073e.tar.gz
edk2-d0e2f8232a26453fc0191629ed44ff2a46ea073e.tar.bz2
edk2-d0e2f8232a26453fc0191629ed44ff2a46ea073e.zip
MdePkg: 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: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'MdePkg/Include/Protocol/Tls.h')
-rw-r--r--MdePkg/Include/Protocol/Tls.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/MdePkg/Include/Protocol/Tls.h b/MdePkg/Include/Protocol/Tls.h
index af524ae2a6..fccbdb8992 100644
--- a/MdePkg/Include/Protocol/Tls.h
+++ b/MdePkg/Include/Protocol/Tls.h
@@ -398,7 +398,7 @@ EFI_STATUS
(EFIAPI *EFI_TLS_GET_SESSION_DATA) (
IN EFI_TLS_PROTOCOL *This,
IN EFI_TLS_SESSION_DATA_TYPE DataType,
- IN OUT VOID *Data, OPTIONAL
+ IN OUT VOID *Data OPTIONAL,
IN OUT UINTN *DataSize
);
@@ -444,9 +444,9 @@ typedef
EFI_STATUS
(EFIAPI *EFI_TLS_BUILD_RESPONSE_PACKET) (
IN EFI_TLS_PROTOCOL *This,
- IN UINT8 *RequestBuffer, OPTIONAL
- IN UINTN RequestSize, OPTIONAL
- OUT UINT8 *Buffer, OPTIONAL
+ IN UINT8 *RequestBuffer OPTIONAL,
+ IN UINTN RequestSize OPTIONAL,
+ OUT UINT8 *Buffer OPTIONAL,
IN OUT UINTN *BufferSize
);
@@ -508,4 +508,3 @@ extern EFI_GUID gEfiTlsServiceBindingProtocolGuid;
extern EFI_GUID gEfiTlsProtocolGuid;
#endif // __EFI_TLS_PROTOCOL_H__
-