summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library/CompilerIntrinsicsLib/memset_ms.c
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2021-12-05 14:53:50 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-12-07 17:24:28 +0000
commit429309e0c6b74792d679681a8edd0d5ae0ff850c (patch)
tree9d26d88024790b459c60a44e14500b7c7076f0d1 /ArmPkg/Library/CompilerIntrinsicsLib/memset_ms.c
parent7c2a6033c149625482a18cd51b65513c8fb8fe15 (diff)
downloadedk2-429309e0c6b74792d679681a8edd0d5ae0ff850c.tar.gz
edk2-429309e0c6b74792d679681a8edd0d5ae0ff850c.tar.bz2
edk2-429309e0c6b74792d679681a8edd0d5ae0ff850c.zip
ArmPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the ArmPkg 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: Andrew Fish <afish@apple.com>
Diffstat (limited to 'ArmPkg/Library/CompilerIntrinsicsLib/memset_ms.c')
-rw-r--r--ArmPkg/Library/CompilerIntrinsicsLib/memset_ms.c27
1 files changed, 19 insertions, 8 deletions
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/memset_ms.c b/ArmPkg/Library/CompilerIntrinsicsLib/memset_ms.c
index b88a5f2c5f..5882cd28b0 100644
--- a/ArmPkg/Library/CompilerIntrinsicsLib/memset_ms.c
+++ b/ArmPkg/Library/CompilerIntrinsicsLib/memset_ms.c
@@ -1,24 +1,35 @@
-//------------------------------------------------------------------------------
+// ------------------------------------------------------------------------------
//
// Copyright (c) 2017, Pete Batard. All rights reserved.<BR>
// Copyright (c) 2021, Arm Limited. All rights reserved.<BR>
//
// SPDX-License-Identifier: BSD-2-Clause-Patent
//
-//------------------------------------------------------------------------------
+// ------------------------------------------------------------------------------
-#if defined(_M_ARM64)
-typedef unsigned __int64 size_t;
+#if defined (_M_ARM64)
+typedef unsigned __int64 size_t;
#else
-typedef unsigned __int32 size_t;
+typedef unsigned __int32 size_t;
#endif
-void* memset(void *, int, size_t);
+void *
+memset (
+ void *,
+ int,
+ size_t
+ );
+
#pragma intrinsic(memset)
#pragma function(memset)
-void *memset(void *s, int c, size_t n)
+void *
+memset (
+ void *s,
+ int c,
+ size_t n
+ )
{
- unsigned char *d;
+ unsigned char *d;
d = s;