diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2021-12-05 14:54:05 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-12-07 17:24:28 +0000 |
commit | 2f88bd3a1296c522317f1c21377876de63de5be7 (patch) | |
tree | ba47875489cc5698061275a495983e9dea3be098 /MdePkg/Include/Library/SafeIntLib.h | |
parent | 1436aea4d5707e672672a11bda72be2c63c936c3 (diff) | |
download | edk2-2f88bd3a1296c522317f1c21377876de63de5be7.tar.gz edk2-2f88bd3a1296c522317f1c21377876de63de5be7.tar.bz2 edk2-2f88bd3a1296c522317f1c21377876de63de5be7.zip |
MdePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737
Apply uncrustify changes to .c/.h files in the MdePkg 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: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'MdePkg/Include/Library/SafeIntLib.h')
-rw-r--r-- | MdePkg/Include/Library/SafeIntLib.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/MdePkg/Include/Library/SafeIntLib.h b/MdePkg/Include/Library/SafeIntLib.h index 6b49e1d0e4..d0ac9e8504 100644 --- a/MdePkg/Include/Library/SafeIntLib.h +++ b/MdePkg/Include/Library/SafeIntLib.h @@ -8,6 +8,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/
+
#ifndef __INT_SAFE_LIB_H__
#define __INT_SAFE_LIB_H__
@@ -40,14 +41,14 @@ #define SafeIntnToChar16 SafeIntnToUint16
#define SafeUintnToChar16 SafeUintnToUint16
-#define SafeChar16ToInt8 SafeUint16ToInt8
-#define SafeChar16ToUint8 SafeUint16ToUint8
-#define SafeChar16ToChar8 SafeUint16ToChar8
-#define SafeChar16ToInt16 SafeUint16ToInt16
+#define SafeChar16ToInt8 SafeUint16ToInt8
+#define SafeChar16ToUint8 SafeUint16ToUint8
+#define SafeChar16ToChar8 SafeUint16ToChar8
+#define SafeChar16ToInt16 SafeUint16ToInt16
-#define SafeChar16Mult SafeUint16Mult
-#define SafeChar16Sub SafeUint16Sub
-#define SafeChar16Add SafeUint16Add
+#define SafeChar16Mult SafeUint16Mult
+#define SafeChar16Sub SafeUint16Sub
+#define SafeChar16Add SafeUint16Add
//
// Conversion functions
@@ -357,8 +358,8 @@ SafeInt16ToChar8 ( RETURN_STATUS
EFIAPI
SafeInt16ToUint8 (
- IN INT16 Operand,
- OUT UINT8 *Result
+ IN INT16 Operand,
+ OUT UINT8 *Result
);
/**
@@ -546,8 +547,8 @@ SafeUint16ToChar8 ( RETURN_STATUS
EFIAPI
SafeUint16ToUint8 (
- IN UINT16 Operand,
- OUT UINT8 *Result
+ IN UINT16 Operand,
+ OUT UINT8 *Result
);
/**
@@ -654,8 +655,8 @@ SafeInt32ToChar8 ( RETURN_STATUS
EFIAPI
SafeInt32ToUint8 (
- IN INT32 Operand,
- OUT UINT8 *Result
+ IN INT32 Operand,
+ OUT UINT8 *Result
);
/**
@@ -712,7 +713,6 @@ SafeInt32ToUint16 ( OUT UINT16 *Result
);
-
/**
INT32 -> UINT32 conversion
@@ -871,8 +871,8 @@ SafeUint32ToChar8 ( RETURN_STATUS
EFIAPI
SafeUint32ToUint8 (
- IN UINT32 Operand,
- OUT UINT8 *Result
+ IN UINT32 Operand,
+ OUT UINT8 *Result
);
/**
@@ -1060,8 +1060,8 @@ SafeIntnToChar8 ( RETURN_STATUS
EFIAPI
SafeIntnToUint8 (
- IN INTN Operand,
- OUT UINT8 *Result
+ IN INTN Operand,
+ OUT UINT8 *Result
);
/**
@@ -1303,8 +1303,8 @@ SafeUintnToChar8 ( RETURN_STATUS
EFIAPI
SafeUintnToUint8 (
- IN UINTN Operand,
- OUT UINT8 *Result
+ IN UINTN Operand,
+ OUT UINT8 *Result
);
/**
|