From 7093ec07c40dd75da5efd0643f9a5bc818b6e6f8 Mon Sep 17 00:00:00 2001 From: Jack Rosenthal Date: Mon, 27 Jun 2022 15:12:50 -0600 Subject: include/libsharedobjs.h: Format with clang-format BUG=b:236386294 BRANCH=none TEST=none Change-Id: I458a7e9ae4c645d1ed1b315091c3aa93492f92e1 Signed-off-by: Jack Rosenthal Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730300 Reviewed-by: Jeremy Bettis --- include/libsharedobjs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/libsharedobjs.h') diff --git a/include/libsharedobjs.h b/include/libsharedobjs.h index 3801ccaca0..c0017e5171 100644 --- a/include/libsharedobjs.h +++ b/include/libsharedobjs.h @@ -17,7 +17,7 @@ * NOTE: I know that this doesn't cover all possible cases, but it will catch * an obvious case. */ -#if (CONFIG_RO_MEM_OFF == CONFIG_RW_MEM_OFF) +#if (CONFIG_RO_MEM_OFF == CONFIG_RW_MEM_OFF) #error "The shared library is NOT compatible with this EC." #endif @@ -28,12 +28,12 @@ */ #undef SHAREDLIB #ifdef SHAREDLIB_IMAGE -#define SHAREDLIB(...) __attribute__ ((section(".roshared"))) __VA_ARGS__ +#define SHAREDLIB(...) __attribute__((section(".roshared"))) __VA_ARGS__ #else /* !defined(SHAREDLIB_IMAGE) */ #define SHAREDLIB(...) #endif /* defined(SHAREDLIB_IMAGE) */ #define SHAREDLIB_FUNC(...) \ - extern __VA_ARGS__ __attribute__ ((section(".roshared.text"))) + extern __VA_ARGS__ __attribute__((section(".roshared.text"))) #else /* !defined(CONFIG_SHAREDLIB) */ -- cgit v1.2.1 From 71b2ef709dcb14260f5fdaa3ab4ced005a29fb46 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 12 Sep 2022 14:54:36 -0400 Subject: Update license boilerplate text in source code files Normally we don't do this, but enough changes have accumulated that we're doing a tree-wide one-off update of the name & style. BRANCH=none BUG=chromium:1098010 TEST=`repo upload` works Change-Id: Icd3a1723c20595356af83d190b2c6a9078b3013b Signed-off-by: Mike Frysinger Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3891203 Reviewed-by: Jeremy Bettis Reviewed-by: Jack Rosenthal --- include/libsharedobjs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libsharedobjs.h') diff --git a/include/libsharedobjs.h b/include/libsharedobjs.h index c0017e5171..ee767ff127 100644 --- a/include/libsharedobjs.h +++ b/include/libsharedobjs.h @@ -1,4 +1,4 @@ -/* Copyright 2015 The Chromium OS Authors. All rights reserved. +/* Copyright 2015 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * -- cgit v1.2.1