X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fclock-util.c;h=e4e03df1e47d196f1457e8c2ea00689de0780afb;hp=fc49393c72aa6601d1fc369066fbf09485a8ca71;hb=86e97d599f8b1ca379dce64fadac9b8f6b002ac5;hpb=c264aeab4b0e7b69f469e12e78d4a48b3ed7a66e
diff --git a/src/shared/clock-util.c b/src/shared/clock-util.c
index fc49393c7..e4e03df1e 100644
--- a/src/shared/clock-util.c
+++ b/src/shared/clock-util.c
@@ -19,29 +19,16 @@
along with systemd; If not, see .
***/
-#include
-#include
-#include
#include
-#include
-#include
#include
-#include
-#include
#include
#include
-#include
-#include
-#include
#include
#include
#include "macro.h"
#include "util.h"
-#include "log.h"
-#include "strv.h"
#include "clock-util.h"
-#include "fileio.h"
int clock_get_hwclock(struct tm *tm) {
_cleanup_close_ int fd = -1;
@@ -121,7 +108,7 @@ int clock_set_timezone(int *min) {
minutesdelta = tm->tm_gmtoff / 60;
tz.tz_minuteswest = -minutesdelta;
- tz.tz_dsttime = 0; /* DST_NONE*/
+ tz.tz_dsttime = 0; /* DST_NONE */
/*
* If the RTC does not run in UTC but in local time, the very first
@@ -141,7 +128,7 @@ int clock_reset_timewarp(void) {
struct timezone tz;
tz.tz_minuteswest = 0;
- tz.tz_dsttime = 0; /* DST_NONE*/
+ tz.tz_dsttime = 0; /* DST_NONE */
/*
* The very first call to settimeofday() does time warp magic. Do a