diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2021-12-02 18:00:52 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-12-07 17:24:28 +0000 |
commit | 8874fa199dd7be550f20e3fc78861022eb826728 (patch) | |
tree | 7bc82e88d9d55781093dd4306e159cd499e84d88 /NetworkPkg | |
parent | d0e2f8232a26453fc0191629ed44ff2a46ea073e (diff) | |
download | edk2-8874fa199dd7be550f20e3fc78861022eb826728.tar.gz edk2-8874fa199dd7be550f20e3fc78861022eb826728.tar.bz2 edk2-8874fa199dd7be550f20e3fc78861022eb826728.zip |
NetworkPkg: 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: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Diffstat (limited to 'NetworkPkg')
26 files changed, 45 insertions, 50 deletions
diff --git a/NetworkPkg/Dhcp4Dxe/Dhcp4Io.c b/NetworkPkg/Dhcp4Dxe/Dhcp4Io.c index 34c72d690a..f073eed58a 100644 --- a/NetworkPkg/Dhcp4Dxe/Dhcp4Io.c +++ b/NetworkPkg/Dhcp4Dxe/Dhcp4Io.c @@ -78,7 +78,7 @@ EFI_STATUS DhcpCallUser (
IN DHCP_SERVICE *DhcpSb,
IN EFI_DHCP4_EVENT Event,
- IN EFI_DHCP4_PACKET *Packet, OPTIONAL
+ IN EFI_DHCP4_PACKET *Packet OPTIONAL,
OUT EFI_DHCP4_PACKET **NewPacket OPTIONAL
)
{
diff --git a/NetworkPkg/HttpBootDxe/HttpBootImpl.c b/NetworkPkg/HttpBootDxe/HttpBootImpl.c index 4a51f35cdd..79cc5697cc 100644 --- a/NetworkPkg/HttpBootDxe/HttpBootImpl.c +++ b/NetworkPkg/HttpBootDxe/HttpBootImpl.c @@ -296,7 +296,7 @@ EFI_STATUS HttpBootLoadFile (
IN HTTP_BOOT_PRIVATE_DATA *Private,
IN OUT UINTN *BufferSize,
- IN VOID *Buffer, OPTIONAL
+ IN VOID *Buffer OPTIONAL,
OUT HTTP_BOOT_IMAGE_TYPE *ImageType
)
{
diff --git a/NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.h b/NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.h index 37dad6bc01..ce9895ded1 100644 --- a/NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.h +++ b/NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.h @@ -72,11 +72,11 @@ EFIAPI HttpUtilitiesBuild (
IN EFI_HTTP_UTILITIES_PROTOCOL *This,
IN UINTN SeedMessageSize,
- IN VOID *SeedMessage, OPTIONAL
+ IN VOID *SeedMessage OPTIONAL,
IN UINTN DeleteCount,
- IN CHAR8 *DeleteList[], OPTIONAL
+ IN CHAR8 *DeleteList[] OPTIONAL,
IN UINTN AppendCount,
- IN EFI_HTTP_HEADER *AppendList[], OPTIONAL
+ IN EFI_HTTP_HEADER *AppendList[] OPTIONAL,
OUT UINTN *NewMessageSize,
OUT VOID **NewMessage
);
diff --git a/NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesProtocol.c b/NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesProtocol.c index bd4df90e05..efa4091135 100644 --- a/NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesProtocol.c +++ b/NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesProtocol.c @@ -52,11 +52,11 @@ EFIAPI HttpUtilitiesBuild (
IN EFI_HTTP_UTILITIES_PROTOCOL *This,
IN UINTN SeedMessageSize,
- IN VOID *SeedMessage, OPTIONAL
+ IN VOID *SeedMessage OPTIONAL,
IN UINTN DeleteCount,
- IN CHAR8 *DeleteList[], OPTIONAL
+ IN CHAR8 *DeleteList[] OPTIONAL,
IN UINTN AppendCount,
- IN EFI_HTTP_HEADER *AppendList[], OPTIONAL
+ IN EFI_HTTP_HEADER *AppendList[] OPTIONAL,
OUT UINTN *NewMessageSize,
OUT VOID **NewMessage
)
diff --git a/NetworkPkg/IScsiDxe/IScsiDhcp.c b/NetworkPkg/IScsiDxe/IScsiDhcp.c index afa8a86cd4..2c77e99f98 100644 --- a/NetworkPkg/IScsiDxe/IScsiDhcp.c +++ b/NetworkPkg/IScsiDxe/IScsiDhcp.c @@ -216,7 +216,7 @@ IScsiDhcpSelectOffer ( IN VOID *Context,
IN EFI_DHCP4_STATE CurrentState,
IN EFI_DHCP4_EVENT Dhcp4Event,
- IN EFI_DHCP4_PACKET *Packet, OPTIONAL
+ IN EFI_DHCP4_PACKET *Packet OPTIONAL,
OUT EFI_DHCP4_PACKET **NewPacket OPTIONAL
)
{
diff --git a/NetworkPkg/IScsiDxe/IScsiProto.c b/NetworkPkg/IScsiDxe/IScsiProto.c index ebb4551b04..215f275a2d 100644 --- a/NetworkPkg/IScsiDxe/IScsiProto.c +++ b/NetworkPkg/IScsiDxe/IScsiProto.c @@ -1304,7 +1304,7 @@ EFI_STATUS IScsiReceivePdu (
IN ISCSI_CONNECTION *Conn,
OUT NET_BUF **Pdu,
- IN ISCSI_IN_BUFFER_CONTEXT *Context, OPTIONAL
+ IN ISCSI_IN_BUFFER_CONTEXT *Context OPTIONAL,
IN BOOLEAN HeaderDigest,
IN BOOLEAN DataDigest,
IN EFI_EVENT TimeoutEvent OPTIONAL
diff --git a/NetworkPkg/IScsiDxe/IScsiProto.h b/NetworkPkg/IScsiDxe/IScsiProto.h index 3b8e662215..a5792a8bae 100644 --- a/NetworkPkg/IScsiDxe/IScsiProto.h +++ b/NetworkPkg/IScsiDxe/IScsiProto.h @@ -859,7 +859,7 @@ EFI_STATUS IScsiReceivePdu (
IN ISCSI_CONNECTION *Conn,
OUT NET_BUF **Pdu,
- IN ISCSI_IN_BUFFER_CONTEXT *Context, OPTIONAL
+ IN ISCSI_IN_BUFFER_CONTEXT *Context OPTIONAL,
IN BOOLEAN HeaderDigest,
IN BOOLEAN DataDigest,
IN EFI_EVENT TimeoutEvent OPTIONAL
diff --git a/NetworkPkg/Include/Library/HttpIoLib.h b/NetworkPkg/Include/Library/HttpIoLib.h index 8f3804ca42..ccddc547a5 100644 --- a/NetworkPkg/Include/Library/HttpIoLib.h +++ b/NetworkPkg/Include/Library/HttpIoLib.h @@ -234,9 +234,9 @@ HttpIoCreateIo ( EFI_STATUS
HttpIoSendRequest (
IN HTTP_IO *HttpIo,
- IN EFI_HTTP_REQUEST_DATA *Request, OPTIONAL
+ IN EFI_HTTP_REQUEST_DATA *Request OPTIONAL,
IN UINTN HeaderCount,
- IN EFI_HTTP_HEADER *Headers, OPTIONAL
+ IN EFI_HTTP_HEADER *Headers OPTIONAL,
IN UINTN BodyLength,
IN VOID *Body OPTIONAL
);
diff --git a/NetworkPkg/Include/Library/NetLib.h b/NetworkPkg/Include/Library/NetLib.h index 6c09248631..a6d7a3b538 100644 --- a/NetworkPkg/Include/Library/NetLib.h +++ b/NetworkPkg/Include/Library/NetLib.h @@ -766,7 +766,7 @@ EFIAPI NetDestroyLinkList (
IN LIST_ENTRY *List,
IN NET_DESTROY_LINK_LIST_CALLBACK CallBack,
- IN VOID *Context, OPTIONAL
+ IN VOID *Context OPTIONAL,
OUT UINTN *ListLength OPTIONAL
);
@@ -1237,7 +1237,7 @@ EFI_STATUS EFIAPI
NetLibGetMacString (
IN EFI_HANDLE ServiceHandle,
- IN EFI_HANDLE ImageHandle, OPTIONAL
+ IN EFI_HANDLE ImageHandle OPTIONAL,
OUT CHAR16 **MacString
);
diff --git a/NetworkPkg/Include/Library/UdpIoLib.h b/NetworkPkg/Include/Library/UdpIoLib.h index cd4ebeb87a..de5174efbc 100644 --- a/NetworkPkg/Include/Library/UdpIoLib.h +++ b/NetworkPkg/Include/Library/UdpIoLib.h @@ -207,7 +207,7 @@ EFIAPI UdpIoCancelDgrams (
IN UDP_IO *UdpIo,
IN EFI_STATUS IoStatus,
- IN UDP_IO_TO_CANCEL ToCancel, OPTIONAL
+ IN UDP_IO_TO_CANCEL ToCancel OPTIONAL,
IN VOID *Context OPTIONAL
);
@@ -360,4 +360,3 @@ UdpIoRecvDatagram ( );
#endif
-
diff --git a/NetworkPkg/Ip4Dxe/Ip4Option.c b/NetworkPkg/Ip4Dxe/Ip4Option.c index 0f6e444ce8..34c7ff2560 100644 --- a/NetworkPkg/Ip4Dxe/Ip4Option.c +++ b/NetworkPkg/Ip4Dxe/Ip4Option.c @@ -115,7 +115,7 @@ Ip4CopyOption ( IN UINT8 *Option,
IN UINT32 OptionLen,
IN BOOLEAN FirstFragment,
- IN OUT UINT8 *Buf, OPTIONAL
+ IN OUT UINT8 *Buf OPTIONAL,
IN OUT UINT32 *BufLen
)
{
diff --git a/NetworkPkg/Ip4Dxe/Ip4Option.h b/NetworkPkg/Ip4Dxe/Ip4Option.h index a39fd2b4c6..05b1bdb973 100644 --- a/NetworkPkg/Ip4Dxe/Ip4Option.h +++ b/NetworkPkg/Ip4Dxe/Ip4Option.h @@ -60,7 +60,7 @@ Ip4CopyOption ( IN UINT8 *Option,
IN UINT32 OptionLen,
IN BOOLEAN FirstFragment,
- IN OUT UINT8 *Buf, OPTIONAL
+ IN OUT UINT8 *Buf OPTIONAL,
IN OUT UINT32 *BufLen
);
#endif
diff --git a/NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.c b/NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.c index 04b01adec5..134bd72266 100644 --- a/NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.c +++ b/NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.c @@ -131,7 +131,7 @@ HttpIoCreateIo ( IN EFI_HANDLE Image,
IN EFI_HANDLE Controller,
IN UINT8 IpVersion,
- IN HTTP_IO_CONFIG_DATA *ConfigData, OPTIONAL
+ IN HTTP_IO_CONFIG_DATA *ConfigData OPTIONAL,
IN HTTP_IO_CALLBACK Callback,
IN VOID *Context,
OUT HTTP_IO *HttpIo
diff --git a/NetworkPkg/Library/DxeNetLib/DxeNetLib.c b/NetworkPkg/Library/DxeNetLib/DxeNetLib.c index 0f95ce4b71..41e8b30e36 100644 --- a/NetworkPkg/Library/DxeNetLib/DxeNetLib.c +++ b/NetworkPkg/Library/DxeNetLib/DxeNetLib.c @@ -1147,7 +1147,7 @@ EFIAPI NetDestroyLinkList (
IN LIST_ENTRY *List,
IN NET_DESTROY_LINK_LIST_CALLBACK CallBack,
- IN VOID *Context, OPTIONAL
+ IN VOID *Context OPTIONAL,
OUT UINTN *ListLength OPTIONAL
)
{
@@ -2283,7 +2283,7 @@ EFI_STATUS EFIAPI
NetLibGetMacString (
IN EFI_HANDLE ServiceHandle,
- IN EFI_HANDLE ImageHandle, OPTIONAL
+ IN EFI_HANDLE ImageHandle OPTIONAL,
OUT CHAR16 **MacString
)
{
diff --git a/NetworkPkg/Library/DxeUdpIoLib/DxeUdpIoLib.c b/NetworkPkg/Library/DxeUdpIoLib/DxeUdpIoLib.c index 0034a5694f..6777fd79a5 100644 --- a/NetworkPkg/Library/DxeUdpIoLib/DxeUdpIoLib.c +++ b/NetworkPkg/Library/DxeUdpIoLib/DxeUdpIoLib.c @@ -765,7 +765,7 @@ EFIAPI UdpIoCancelDgrams (
IN UDP_IO *UdpIo,
IN EFI_STATUS IoStatus,
- IN UDP_IO_TO_CANCEL ToCancel, OPTIONAL
+ IN UDP_IO_TO_CANCEL ToCancel OPTIONAL,
IN VOID *Context OPTIONAL
)
{
diff --git a/NetworkPkg/SnpDxe/Get_status.c b/NetworkPkg/SnpDxe/Get_status.c index e958ae2575..616eb4aa6a 100644 --- a/NetworkPkg/SnpDxe/Get_status.c +++ b/NetworkPkg/SnpDxe/Get_status.c @@ -195,7 +195,7 @@ EFI_STATUS EFIAPI
SnpUndi32GetStatus (
IN EFI_SIMPLE_NETWORK_PROTOCOL *This,
- OUT UINT32 *InterruptStatus, OPTIONAL
+ OUT UINT32 *InterruptStatus OPTIONAL,
OUT VOID **TxBuf OPTIONAL
)
{
diff --git a/NetworkPkg/SnpDxe/Receive_filters.c b/NetworkPkg/SnpDxe/Receive_filters.c index ec18b74b35..4666772a2d 100644 --- a/NetworkPkg/SnpDxe/Receive_filters.c +++ b/NetworkPkg/SnpDxe/Receive_filters.c @@ -384,7 +384,7 @@ SnpUndi32ReceiveFilters ( IN UINT32 Enable,
IN UINT32 Disable,
IN BOOLEAN ResetMCastFilter,
- IN UINTN MCastFilterCnt, OPTIONAL
+ IN UINTN MCastFilterCnt OPTIONAL,
IN EFI_MAC_ADDRESS *MCastFilter OPTIONAL
)
{
diff --git a/NetworkPkg/SnpDxe/Snp.h b/NetworkPkg/SnpDxe/Snp.h index 66b5f948e2..30dd8d5f26 100644 --- a/NetworkPkg/SnpDxe/Snp.h +++ b/NetworkPkg/SnpDxe/Snp.h @@ -644,7 +644,7 @@ SnpUndi32ReceiveFilters ( IN UINT32 Enable,
IN UINT32 Disable,
IN BOOLEAN ResetMCastFilter,
- IN UINTN MCastFilterCnt, OPTIONAL
+ IN UINTN MCastFilterCnt OPTIONAL,
IN EFI_MAC_ADDRESS *MCastFilter OPTIONAL
);
@@ -740,7 +740,7 @@ EFIAPI SnpUndi32Statistics (
IN EFI_SIMPLE_NETWORK_PROTOCOL *This,
IN BOOLEAN Reset,
- IN OUT UINTN *StatisticsSize, OPTIONAL
+ IN OUT UINTN *StatisticsSize OPTIONAL,
IN OUT EFI_NETWORK_STATISTICS *StatisticsTable OPTIONAL
);
@@ -884,7 +884,7 @@ EFI_STATUS EFIAPI
SnpUndi32GetStatus (
IN EFI_SIMPLE_NETWORK_PROTOCOL *This,
- OUT UINT32 *InterruptStatus, OPTIONAL
+ OUT UINT32 *InterruptStatus OPTIONAL,
OUT VOID **TxBuf OPTIONAL
);
@@ -949,8 +949,8 @@ SnpUndi32Transmit ( IN UINTN HeaderSize,
IN UINTN BufferSize,
IN VOID *Buffer,
- IN EFI_MAC_ADDRESS *SrcAddr, OPTIONAL
- IN EFI_MAC_ADDRESS *DestAddr, OPTIONAL
+ IN EFI_MAC_ADDRESS *SrcAddr OPTIONAL,
+ IN EFI_MAC_ADDRESS *DestAddr OPTIONAL,
IN UINT16 *Protocol OPTIONAL
);
diff --git a/NetworkPkg/SnpDxe/Statistics.c b/NetworkPkg/SnpDxe/Statistics.c index 0928eae1c4..faeec536fc 100644 --- a/NetworkPkg/SnpDxe/Statistics.c +++ b/NetworkPkg/SnpDxe/Statistics.c @@ -62,7 +62,7 @@ EFIAPI SnpUndi32Statistics (
IN EFI_SIMPLE_NETWORK_PROTOCOL *This,
IN BOOLEAN Reset,
- IN OUT UINTN *StatisticsSize, OPTIONAL
+ IN OUT UINTN *StatisticsSize OPTIONAL,
IN OUT EFI_NETWORK_STATISTICS *StatisticsTable OPTIONAL
)
{
diff --git a/NetworkPkg/SnpDxe/Transmit.c b/NetworkPkg/SnpDxe/Transmit.c index 0f8d79ac7e..3ff6b9d167 100644 --- a/NetworkPkg/SnpDxe/Transmit.c +++ b/NetworkPkg/SnpDxe/Transmit.c @@ -274,8 +274,8 @@ SnpUndi32Transmit ( IN UINTN HeaderSize,
IN UINTN BufferSize,
IN VOID *Buffer,
- IN EFI_MAC_ADDRESS *SrcAddr, OPTIONAL
- IN EFI_MAC_ADDRESS *DestAddr, OPTIONAL
+ IN EFI_MAC_ADDRESS *SrcAddr OPTIONAL,
+ IN EFI_MAC_ADDRESS *DestAddr OPTIONAL,
IN UINT16 *Protocol OPTIONAL
)
{
diff --git a/NetworkPkg/TcpDxe/TcpDriver.c b/NetworkPkg/TcpDxe/TcpDriver.c index c57725f0b5..ef8cd42694 100644 --- a/NetworkPkg/TcpDxe/TcpDriver.c +++ b/NetworkPkg/TcpDxe/TcpDriver.c @@ -411,7 +411,7 @@ TcpDestroyService ( IN EFI_HANDLE Controller,
IN EFI_HANDLE ImageHandle,
IN UINTN NumberOfChildren,
- IN EFI_HANDLE *ChildHandleBuffer, OPTIONAL
+ IN EFI_HANDLE *ChildHandleBuffer OPTIONAL,
IN UINT8 IpVersion
)
{
diff --git a/NetworkPkg/TlsDxe/TlsConfigProtocol.c b/NetworkPkg/TlsDxe/TlsConfigProtocol.c index b01e4cdeec..344d8de217 100644 --- a/NetworkPkg/TlsDxe/TlsConfigProtocol.c +++ b/NetworkPkg/TlsDxe/TlsConfigProtocol.c @@ -105,7 +105,7 @@ EFIAPI TlsConfigurationGetData (
IN EFI_TLS_CONFIGURATION_PROTOCOL *This,
IN EFI_TLS_CONFIG_DATA_TYPE DataType,
- IN OUT VOID *Data, OPTIONAL
+ IN OUT VOID *Data OPTIONAL,
IN OUT UINTN *DataSize
)
{
@@ -144,4 +144,3 @@ TlsConfigurationGetData ( gBS->RestoreTPL (OldTpl);
return Status;
}
-
diff --git a/NetworkPkg/TlsDxe/TlsImpl.h b/NetworkPkg/TlsDxe/TlsImpl.h index ce9f1e8b8f..391f86ef60 100644 --- a/NetworkPkg/TlsDxe/TlsImpl.h +++ b/NetworkPkg/TlsDxe/TlsImpl.h @@ -148,7 +148,7 @@ EFIAPI TlsGetSessionData (
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
);
@@ -194,9 +194,9 @@ EFI_STATUS EFIAPI
TlsBuildResponsePacket (
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
);
@@ -298,9 +298,8 @@ EFIAPI TlsConfigurationGetData (
IN EFI_TLS_CONFIGURATION_PROTOCOL *This,
IN EFI_TLS_CONFIG_DATA_TYPE DataType,
- IN OUT VOID *Data, OPTIONAL
+ IN OUT VOID *Data OPTIONAL,
IN OUT UINTN *DataSize
);
#endif
-
diff --git a/NetworkPkg/TlsDxe/TlsProtocol.c b/NetworkPkg/TlsDxe/TlsProtocol.c index 001e5400d0..b814de5b35 100644 --- a/NetworkPkg/TlsDxe/TlsProtocol.c +++ b/NetworkPkg/TlsDxe/TlsProtocol.c @@ -259,7 +259,7 @@ EFIAPI TlsGetSessionData (
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 @@ EFI_STATUS EFIAPI
TlsBuildResponsePacket (
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
)
{
@@ -673,4 +673,3 @@ ON_EXIT: gBS->RestoreTPL (OldTpl);
return Status;
}
-
diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c b/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c index 8eb1558d30..5579494c5b 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c @@ -24,7 +24,7 @@ EFI_STATUS
PxeBcFlushStationIp (
PXEBC_PRIVATE_DATA *Private,
- EFI_IP_ADDRESS *StationIp, OPTIONAL
+ EFI_IP_ADDRESS *StationIp OPTIONAL,
EFI_IP_ADDRESS *SubnetMask OPTIONAL
)
{
@@ -1535,4 +1535,3 @@ CalcElapsedTime ( Private->ElapsedTime = ElapsedTimeValue;
}
}
-
diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h b/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h index 312572129e..8405f6fad3 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h @@ -34,7 +34,7 @@ EFI_STATUS
PxeBcFlushStationIp (
PXEBC_PRIVATE_DATA *Private,
- EFI_IP_ADDRESS *StationIp, OPTIONAL
+ EFI_IP_ADDRESS *StationIp OPTIONAL,
EFI_IP_ADDRESS *SubnetMask OPTIONAL
);
|