From 8aa17b12f29536ea9c8b6ca22c7f153e8d90fa3b Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 10 Apr 2022 15:39:41 +0300 Subject: add clang format and run it --- include/apos/attrs.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'include/apos/attrs.h') diff --git a/include/apos/attrs.h b/include/apos/attrs.h index 0a731cc..094ae54 100644 --- a/include/apos/attrs.h +++ b/include/apos/attrs.h @@ -1,14 +1,14 @@ #ifndef APOS_COMPILER_ATTRIBUTES_H -#define __section(section) __attribute__((__section__(section))) -#define __fmt(x, y) __attribute__((format (__printf__, x, y))) -#define __aligned(a) __attribute__((aligned(a))) -#define __noinline __attribute__((noinline)) -#define __noreturn __attribute__((noreturn)) -#define __packed __attribute__((packed)) -#define __weak __attribute__((weak)) +#define __section(section) __attribute__((__section__(section))) +#define __fmt(x, y) __attribute__((format(__printf__, x, y))) +#define __aligned(a) __attribute__((aligned(a))) +#define __noinline __attribute__((noinline)) +#define __noreturn __attribute__((noreturn)) +#define __packed __attribute__((packed)) +#define __weak __attribute__((weak)) -#define __main __section(".kernel.start") __noinline -#define __init __section(".init.start") __noinline +#define __main __section(".kernel.start") __noinline +#define __init __section(".init.start") __noinline #endif /* APOS_COMPILER_ATTRIBUTES_H */ -- cgit v1.3