diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2021-12-05 14:54:07 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-12-07 17:24:28 +0000 |
commit | d1050b9dff1cace252aff86630bfdb59dff5f507 (patch) | |
tree | 77f796143980742d97a883f62ce339a270474801 /NetworkPkg/Include/Protocol | |
parent | 2f88bd3a1296c522317f1c21377876de63de5be7 (diff) | |
download | edk2-d1050b9dff1cace252aff86630bfdb59dff5f507.tar.gz edk2-d1050b9dff1cace252aff86630bfdb59dff5f507.tar.bz2 edk2-d1050b9dff1cace252aff86630bfdb59dff5f507.zip |
NetworkPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737
Apply uncrustify changes to .c/.h files in the NetworkPkg package
Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Diffstat (limited to 'NetworkPkg/Include/Protocol')
-rw-r--r-- | NetworkPkg/Include/Protocol/Dpc.h | 10 | ||||
-rw-r--r-- | NetworkPkg/Include/Protocol/HttpCallback.h | 10 |
2 files changed, 9 insertions, 11 deletions
diff --git a/NetworkPkg/Include/Protocol/Dpc.h b/NetworkPkg/Include/Protocol/Dpc.h index 5e50f6cf30..5af4cc9e3b 100644 --- a/NetworkPkg/Include/Protocol/Dpc.h +++ b/NetworkPkg/Include/Protocol/Dpc.h @@ -7,7 +7,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent **/
-
#ifndef __DPC_H__
#define __DPC_H__
@@ -22,8 +21,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent //
// Forward reference for pure ANSI compatibility
//
-typedef struct _EFI_DPC_PROTOCOL EFI_DPC_PROTOCOL;
-
+typedef struct _EFI_DPC_PROTOCOL EFI_DPC_PROTOCOL;
/**
Invoke a Deferred Procedure Call.
@@ -86,13 +84,13 @@ EFI_STATUS /// DPC Protocol structure.
///
struct _EFI_DPC_PROTOCOL {
- EFI_DPC_QUEUE_DPC QueueDpc;
- EFI_DPC_DISPATCH_DPC DispatchDpc;
+ EFI_DPC_QUEUE_DPC QueueDpc;
+ EFI_DPC_DISPATCH_DPC DispatchDpc;
};
///
/// DPC Protocol GUID variable.
///
-extern EFI_GUID gEfiDpcProtocolGuid;
+extern EFI_GUID gEfiDpcProtocolGuid;
#endif
diff --git a/NetworkPkg/Include/Protocol/HttpCallback.h b/NetworkPkg/Include/Protocol/HttpCallback.h index 7e3f82ae75..3accd2f842 100644 --- a/NetworkPkg/Include/Protocol/HttpCallback.h +++ b/NetworkPkg/Include/Protocol/HttpCallback.h @@ -13,7 +13,7 @@ 0x611114f1, 0xa37b, 0x4468, {0xa4, 0x36, 0x5b, 0xdd, 0xa1, 0x6a, 0xa2, 0x40} \
}
-typedef struct _EDKII_HTTP_CALLBACK_PROTOCOL EDKII_HTTP_CALLBACK_PROTOCOL;
+typedef struct _EDKII_HTTP_CALLBACK_PROTOCOL EDKII_HTTP_CALLBACK_PROTOCOL;
///
/// EDKII_HTTP_CALLBACK_EVENT
@@ -67,19 +67,19 @@ typedef enum { **/
typedef
VOID
-(EFIAPI * EDKII_HTTP_CALLBACK) (
+(EFIAPI *EDKII_HTTP_CALLBACK)(
IN EDKII_HTTP_CALLBACK_PROTOCOL *This,
IN EDKII_HTTP_CALLBACK_EVENT Event,
IN EFI_STATUS EventStatus
- );
+ );
///
/// EFI HTTP Callback Protocol is invoked when HTTP event occurs.
///
struct _EDKII_HTTP_CALLBACK_PROTOCOL {
- EDKII_HTTP_CALLBACK Callback;
+ EDKII_HTTP_CALLBACK Callback;
};
-extern EFI_GUID gEdkiiHttpCallbackProtocolGuid;
+extern EFI_GUID gEdkiiHttpCallbackProtocolGuid;
#endif /* EDKII_HTTP_CALLBACK_H_ */
|