diff options
author | Gary E. Miller <gem@rellim.com> | 2015-04-30 13:46:00 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-04-30 13:46:00 -0700 |
commit | 77e283cc8fda4ced8527a2cfc6fd4c863d9b86a4 (patch) | |
tree | 4f3a72f05f335d28660b852b16b4d930567e2b51 /ntpshmwrite.c | |
parent | a5a4102ddba7e8f873a83d08328949c64240db96 (diff) | |
download | gpsd-77e283cc8fda4ced8527a2cfc6fd4c863d9b86a4.tar.gz |
More trailing whitespace fixups.
Diffstat (limited to 'ntpshmwrite.c')
-rw-r--r-- | ntpshmwrite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ntpshmwrite.c b/ntpshmwrite.c index 563102be..addc1f41 100644 --- a/ntpshmwrite.c +++ b/ntpshmwrite.c @@ -21,15 +21,15 @@ #define LEAP_NOWARNING 0x0 /* normal, no leap second warning */ -void ntp_write(volatile struct shmTime *shmseg, +void ntp_write(volatile struct shmTime *shmseg, struct timedelta_t *td, int precision, int leap_notify) /* put a received fix time into shared memory for NTP */ { struct tm tm; - /* insist that leap seconds only happen in june and december + /* insist that leap seconds only happen in june and december * GPS emits leap pending for 3 months prior to insertion - * NTP expects leap pending for only 1 month prior to insertion + * NTP expects leap pending for only 1 month prior to insertion * Per http://bugs.ntp.org/1090 */ (void)gmtime_r( &(td->real.tv_sec), &tm); if ( 5 != tm.tm_mon && 11 != tm.tm_mon ) { |