summaryrefslogtreecommitdiff
path: root/src/shared/time-dst.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-11-11 16:55:25 +0100
committerKay Sievers <kay@vrfy.org>2012-11-11 16:55:25 +0100
commit2311eb2ff0c3ff80ec3645b02c97170c9a565454 (patch)
tree8917f61a335195ffbbfe2bc6457757c29e6f0742 /src/shared/time-dst.h
parentef216ca3d7ddc00c629fbbc37dd1e7f98f9e9220 (diff)
timedatectl: properly print 30 minutes DST transitions
Diffstat (limited to 'src/shared/time-dst.h')
-rw-r--r--src/shared/time-dst.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/shared/time-dst.h b/src/shared/time-dst.h
index 3fa6c4423c..536b6bbdfb 100644
--- a/src/shared/time-dst.h
+++ b/src/shared/time-dst.h
@@ -1,7 +1,6 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef footimedst
-#define footimedst
+#pragma once
/***
This file is part of systemd.
@@ -24,6 +23,4 @@
int time_get_dst(time_t date, const char *tzfile,
time_t *switch_cur, char **zone_cur, bool *dst_cur,
- time_t *switch_next, char **zone_next, bool *dst_next);
-
-#endif
+ time_t *switch_next, int *delta_next, char **zone_next, bool *dst_next);