summaryrefslogtreecommitdiff
path: root/src/shared/macro.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-10-16 03:17:09 +0200
committerLennart Poettering <lennart@poettering.net>2013-10-16 06:14:59 +0200
commit44b601bc79e46722bc0f0862ee0ce34a2284ef11 (patch)
treec8825b4bdedf50d5b98b2e13a1f6a832f65626d9 /src/shared/macro.h
parente0d856dd48d640f3d95efe7b769edec02373cc74 (diff)
macro: clean up usage of gcc attributes
Always use our own macros, and name all our own macros the same style.
Diffstat (limited to 'src/shared/macro.h')
-rw-r--r--src/shared/macro.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/macro.h b/src/shared/macro.h
index 06e16cd453..3cf17bb867 100644
--- a/src/shared/macro.h
+++ b/src/shared/macro.h
@@ -27,7 +27,7 @@
#include <sys/uio.h>
#include <inttypes.h>
-#define _printf_attr_(a,b) __attribute__ ((format (printf, a, b)))
+#define _printf_(a,b) __attribute__ ((format (printf, a, b)))
#define _alloc_(...) __attribute__ ((alloc_size(__VA_ARGS__)))
#define _sentinel_ __attribute__ ((sentinel))
#define _noreturn_ __attribute__((noreturn))