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/Ip4Dxe | |
parent | d0e2f8232a26453fc0191629ed44ff2a46ea073e (diff) | |
download | edk2-8874fa199dd7be550f20e3fc78861022eb826728.zip edk2-8874fa199dd7be550f20e3fc78861022eb826728.tar.gz edk2-8874fa199dd7be550f20e3fc78861022eb826728.tar.bz2 |
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/Ip4Dxe')
-rw-r--r-- | NetworkPkg/Ip4Dxe/Ip4Option.c | 2 | ||||
-rw-r--r-- | NetworkPkg/Ip4Dxe/Ip4Option.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/NetworkPkg/Ip4Dxe/Ip4Option.c b/NetworkPkg/Ip4Dxe/Ip4Option.c index 0f6e444..34c7ff2 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 a39fd2b..05b1bdb 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
|