summaryrefslogtreecommitdiff
path: root/src/shared/log.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/log.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/log.h')
-rw-r--r--src/shared/log.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/shared/log.h b/src/shared/log.h
index 979f833d57..9ce99ef9fa 100644
--- a/src/shared/log.h
+++ b/src/shared/log.h
@@ -75,7 +75,7 @@ int log_meta(
const char*file,
int line,
const char *func,
- const char *format, ...) _printf_attr_(5,6);
+ const char *format, ...) _printf_(5,6);
int log_metav(
int level,
@@ -83,7 +83,7 @@ int log_metav(
int line,
const char *func,
const char *format,
- va_list ap) _printf_attr_(5,0);
+ va_list ap) _printf_(5,0);
int log_meta_object(
int level,
@@ -92,7 +92,7 @@ int log_meta_object(
const char *func,
const char *object_name,
const char *object,
- const char *format, ...) _printf_attr_(7,8);
+ const char *format, ...) _printf_(7,8);
int log_metav_object(
int level,
@@ -102,14 +102,14 @@ int log_metav_object(
const char *object_name,
const char *object,
const char *format,
- va_list ap) _printf_attr_(7,0);
+ va_list ap) _printf_(7,0);
int log_struct_internal(
int level,
const char *file,
int line,
const char *func,
- const char *format, ...) _printf_attr_(5,0) _sentinel_;
+ const char *format, ...) _printf_(5,0) _sentinel_;
int log_oom_internal(
const char *file,