diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-09-26 21:53:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-09-26 21:53:49 +0200 |
commit | 8c902327f91616af5e87fd2a6d4b7ea38bb3aa32 (patch) | |
tree | c40cc7cdd4d6c13022aecfa8dbdd1ca508765eba /sd-daemon.h | |
parent | d550837387e4185ebcde1023702580e35eb441e7 (diff) |
systemd: update sd-daemon.[ch]
Diffstat (limited to 'sd-daemon.h')
-rw-r--r-- | sd-daemon.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sd-daemon.h b/sd-daemon.h index fe51159..daa3f4c 100644 --- a/sd-daemon.h +++ b/sd-daemon.h @@ -59,20 +59,20 @@ extern "C" { You may find an up-to-date version of these source files online: http://cgit.freedesktop.org/systemd/systemd/plain/src/systemd/sd-daemon.h - http://cgit.freedesktop.org/systemd/systemd/plain/src/sd-daemon.c + http://cgit.freedesktop.org/systemd/systemd/plain/src/libsystemd-daemon/sd-daemon.c This should compile on non-Linux systems, too, but with the exception of the sd_is_xxx() calls all functions will become NOPs. - See sd-daemon(7) for more information. + See sd-daemon(3) for more information. */ #ifndef _sd_printf_attr_ -#if __GNUC__ >= 4 -#define _sd_printf_attr_(a,b) __attribute__ ((format (printf, a, b))) -#else -#define _sd_printf_attr_(a,b) -#endif +# if __GNUC__ >= 4 +# define _sd_printf_attr_(a,b) __attribute__ ((format (printf, a, b))) +# else +# define _sd_printf_attr_(a,b) +# endif #endif /* |