diff options
author | Karel Zak | 2007-03-21 15:05:58 +0100 |
---|---|---|
committer | Karel Zak | 2007-03-21 15:05:58 +0100 |
commit | 9abb26854c5f185683ba7bd812bb5076cedc8f0e (patch) | |
tree | 8d7101ca0d504ee7e88a382210f20838fd256af0 /hwclock/clock.h | |
parent | hwclock: add support for audit system (diff) | |
download | kernel-qcow2-util-linux-9abb26854c5f185683ba7bd812bb5076cedc8f0e.tar.gz kernel-qcow2-util-linux-9abb26854c5f185683ba7bd812bb5076cedc8f0e.tar.xz kernel-qcow2-util-linux-9abb26854c5f185683ba7bd812bb5076cedc8f0e.zip |
hwclock: remove tailing white-spaces and clean up clock.h
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'hwclock/clock.h')
-rw-r--r-- | hwclock/clock.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/hwclock/clock.h b/hwclock/clock.h index 39971f721..6e8a9b4ca 100644 --- a/hwclock/clock.h +++ b/hwclock/clock.h @@ -1,3 +1,6 @@ +#ifndef HWCLOCK_CLOCK_H +#define HWCLOCK_CLOCK_H + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -24,8 +27,12 @@ typedef int bool; extern char *progname; extern int debug; extern int epoch_option; -extern void outsyserr(char *msg, ...); - +extern void outsyserr(char *msg, ...) +#ifdef __GNUC__ + __attribute__ ((format (printf, 1, 2))); +#else + ; +#endif /* cmos.c */ extern void set_cmos_epoch(int ARCconsole, int SRM); extern void set_cmos_access(int Jensen, int funky_toy); @@ -41,3 +48,5 @@ extern void hwaudit_exit(int status); #else # define hwclock_exit(_status) exit(_status) #endif + +#endif /* HWCLOCK_CLOCK_H */ |