summaryrefslogtreecommitdiff
path: root/timebase.c
diff options
context:
space:
mode:
authorMichael Tatarinov <kukabu@gmail.com>2012-06-26 13:45:58 +0400
committerEric S. Raymond <esr@thyrsus.com>2012-06-26 06:48:07 -0400
commit5158d66b981a78213af3639084592c9233d857da (patch)
tree6001d782e375c1eaa25ebf69c8768ca65a6e505a /timebase.c
parentfb207bd62f260c2ac061bc94861a22fa4c54b935 (diff)
downloadgpsd-5158d66b981a78213af3639084592c9233d857da.tar.gz
Fix the leap seconds notify.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'timebase.c')
-rw-r--r--timebase.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/timebase.c b/timebase.c
index 10761214..cf99b564 100644
--- a/timebase.c
+++ b/timebase.c
@@ -84,9 +84,6 @@ BSD terms apply: see the file COPYING in the distribution root for details.
#include "gpsd.h"
#include "timebase.h"
-#define SECS_PER_WEEK (60*60*24*7) /* seconds per week */
-#define GPS_ROLLOVER (1024*SECS_PER_WEEK) /* rollover period */
-
void gpsd_time_init(struct gps_context_t *context, time_t starttime)
/* initialize the GPS context's time fields */
{