From 1ffd530753901cb424ddd64bc44b126296f33ca2 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 20 Sep 2012 06:18:22 -0500 Subject: move declaration of SKEW_CHECK_INTERVAL_SEC and SKEW_DIFF_THRESHOLD_SEC to the top of the file. --- src/datetime-service.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/datetime-service.c b/src/datetime-service.c index d2a9a63..8db3c73 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -52,6 +52,13 @@ with this program. If not, see . #include "settings-shared.h" #include "utils.h" +enum { + /* how often to check for clock skew */ + SKEW_CHECK_INTERVAL_SEC = 10, + + SKEW_DIFF_THRESHOLD_SEC = SKEW_CHECK_INTERVAL_SEC + 5 +}; + #ifdef HAVE_CCPANEL #define SETTINGS_APP_INVOCATION "gnome-control-center indicator-datetime" #else @@ -1181,13 +1188,6 @@ day_timer_reset (void) return; } -enum { - /* how often to check for clock skew */ - SKEW_CHECK_INTERVAL_SEC = 10, - - SKEW_DIFF_THRESHOLD_SEC = SKEW_CHECK_INTERVAL_SEC + 5 -}; - static gboolean skew_check_timer_func (gpointer unused G_GNUC_UNUSED) { -- cgit v1.2.3