From 6a71b24b63ba403e6c49dbed2d31d9a73cab4890 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 27 Nov 2021 22:52:28 +0100 Subject: [PATCH] build: Append __ after __attribute and __typeof keywords Be consistent with other usages in the code base. --- src/local-link.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/local-link.h b/src/local-link.h index fd1949c..ebc197f 100644 --- a/src/local-link.h +++ b/src/local-link.h @@ -37,11 +37,11 @@ # if __has_attribute(symver) /* The symver attribute is supported since gcc 10.x. */ #define libbsd_symver_default(alias, symbol, version) \ - extern __typeof(symbol) symbol \ - __attribute((__symver__(#alias "@@" #version))) + extern __typeof__(symbol) symbol \ + __attribute__((__symver__(#alias "@@" #version))) #define libbsd_symver_variant(alias, symbol, version) \ - extern __typeof(symbol) symbol \ - __attribute((__symver__(#alias "@" #version))) + extern __typeof__(symbol) symbol \ + __attribute__((__symver__(#alias "@" #version))) # else #define libbsd_symver_default(alias, symbol, version) \ __asm__(".symver " #symbol "," #alias "@@" #version) @@ -51,7 +51,7 @@ # endif #else #define libbsd_symver_default(alias, symbol, version) \ - extern __typeof(symbol) alias __attribute__((__alias__(#symbol))) + extern __typeof__(symbol) alias __attribute__((__alias__(#symbol))) #define libbsd_symver_variant(alias, symbol, version) #endif