tree-wide: drop redundant space between __attribute__ and ((
We follow no general rule, but in most cases we do not place a space outside of macro.h. Hence let's stick to that, and adapt macro.h too, and follow the rule systematically that there shall not be a space between __attribute__ and ((... Yes, this does not matter at all, and is purely OCD cosmetics. But then again, the uses of __attribute__ are very local only, hence the changes cleaning this up are small and are unlikely to have to be repeated too often...
This commit is contained in:
+13
-13
@@ -8,27 +8,27 @@
|
||||
#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#define _printf_(a, b) __attribute__ ((__format__(printf, a, b)))
|
||||
#define _printf_(a, b) __attribute__((__format__(printf, a, b)))
|
||||
#ifdef __clang__
|
||||
# define _alloc_(...)
|
||||
#else
|
||||
# define _alloc_(...) __attribute__ ((__alloc_size__(__VA_ARGS__)))
|
||||
# define _alloc_(...) __attribute__((__alloc_size__(__VA_ARGS__)))
|
||||
#endif
|
||||
#define _sentinel_ __attribute__ ((__sentinel__))
|
||||
#define _sentinel_ __attribute__((__sentinel__))
|
||||
#define _section_(x) __attribute__((__section__(x)))
|
||||
#define _used_ __attribute__((__used__))
|
||||
#define _unused_ __attribute__ ((__unused__))
|
||||
#define _destructor_ __attribute__ ((__destructor__))
|
||||
#define _pure_ __attribute__ ((__pure__))
|
||||
#define _const_ __attribute__ ((__const__))
|
||||
#define _deprecated_ __attribute__ ((__deprecated__))
|
||||
#define _packed_ __attribute__ ((__packed__))
|
||||
#define _malloc_ __attribute__ ((__malloc__))
|
||||
#define _weak_ __attribute__ ((__weak__))
|
||||
#define _unused_ __attribute__((__unused__))
|
||||
#define _destructor_ __attribute__((__destructor__))
|
||||
#define _pure_ __attribute__((__pure__))
|
||||
#define _const_ __attribute__((__const__))
|
||||
#define _deprecated_ __attribute__((__deprecated__))
|
||||
#define _packed_ __attribute__((__packed__))
|
||||
#define _malloc_ __attribute__((__malloc__))
|
||||
#define _weak_ __attribute__((__weak__))
|
||||
#define _likely_(x) (__builtin_expect(!!(x), 1))
|
||||
#define _unlikely_(x) (__builtin_expect(!!(x), 0))
|
||||
#define _public_ __attribute__ ((__visibility__("default")))
|
||||
#define _hidden_ __attribute__ ((__visibility__("hidden")))
|
||||
#define _public_ __attribute__((__visibility__("default")))
|
||||
#define _hidden_ __attribute__((__visibility__("hidden")))
|
||||
#define _weakref_(x) __attribute__((__weakref__(#x)))
|
||||
#define _align_(x) __attribute__((__aligned__(x)))
|
||||
#define _alignas_(x) __attribute__((__aligned__(__alignof(x))))
|
||||
|
||||
Reference in New Issue
Block a user