summaryrefslogtreecommitdiff
path: root/src/libudev/macro.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-10-16 03:17:09 +0200
committerAnthony G. Basile <blueness@gentoo.org>2014-01-09 14:58:12 -0500
commitbae7baca80ea532372c7924fe5734808282c5b2e (patch)
tree5862965d7cd6684173f7e3068d110d6b2f3eed36 /src/libudev/macro.h
parentbc681b6fb2639772af71acc9fc4614a1b5932a7e (diff)
macro: clean up usage of gcc attributes
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/macro.h')
-rw-r--r--src/libudev/macro.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/macro.h b/src/libudev/macro.h
index d24c779e7c..dddc040cec 100644
--- a/src/libudev/macro.h
+++ b/src/libudev/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))