From ef71b8f1128b72bf072f1bd0a306b1bb06781a40 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 24 Jul 2011 17:35:43 +0200 Subject: hwclock: coding style clean up Despide amount of the change this change should be harmless. Everything is about indendation, comment restructuring etc not code changes. Signed-off-by: Sami Kerola --- hwclock/clock.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'hwclock/clock.h') diff --git a/hwclock/clock.h b/hwclock/clock.h index e4eb7eba8..8d1befe8f 100644 --- a/hwclock/clock.h +++ b/hwclock/clock.h @@ -1,20 +1,20 @@ #ifndef HWCLOCK_CLOCK_H #define HWCLOCK_CLOCK_H +#include #include #include #include -#include /* for errno, EPERM, EINVAL, ENOENT */ #include #include "c.h" struct clock_ops { char *interface_name; - int (*get_permissions)(void); - int (*read_hardware_clock)(struct tm *tm); - int (*set_hardware_clock)(const struct tm *tm); - int (*synchronize_to_clock_tick)(void); + int (*get_permissions) (void); + int (*read_hardware_clock) (struct tm * tm); + int (*set_hardware_clock) (const struct tm * tm); + int (*synchronize_to_clock_tick) (void); }; extern struct clock_ops *probe_for_cmos_clock(void); @@ -29,9 +29,9 @@ extern int debug; extern int epoch_option; extern void outsyserr(char *msg, ...) #ifdef __GNUC__ - __attribute__ ((format (printf, 1, 2))); + __attribute__ ((format(printf, 1, 2))); #else - ; + ; #endif extern double time_diff(struct timeval subtrahend, struct timeval subtractor); /* cmos.c */ @@ -50,4 +50,4 @@ extern void hwaudit_exit(int status); # define hwclock_exit(_status) exit(_status) #endif -#endif /* HWCLOCK_CLOCK_H */ +#endif /* HWCLOCK_CLOCK_H */ -- cgit v1.2.3-55-g7522