From 2311eb2ff0c3ff80ec3645b02c97170c9a565454 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 11 Nov 2012 16:55:25 +0100 Subject: timedatectl: properly print 30 minutes DST transitions --- src/shared/time-dst.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/shared/time-dst.h') 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); -- cgit v1.2.3-54-g00ecf