diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-12 14:26:13 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-12 14:26:13 -0500 |
commit | ea63b713a8c8b222a64d084b1e1bc9ff0a172351 (patch) | |
tree | 595256378f1a8e5f1adda4d267d7e68772545560 /ppsthread.c | |
parent | c20d6ea513529c2c59135b57bcbb215735b81bd2 (diff) | |
download | gpsd-ea63b713a8c8b222a64d084b1e1bc9ff0a172351.tar.gz |
pyjrad_err has to be unconditionally available.
Diffstat (limited to 'ppsthread.c')
-rw-r--r-- | ppsthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ppsthread.c b/ppsthread.c index cbb44461..bb091216 100644 --- a/ppsthread.c +++ b/ppsthread.c @@ -293,11 +293,11 @@ static /*@null@*/ void *gpsd_ppsmonitor(void *arg) struct timespec pulse_kpps[2] = { {0, 0}, {0, 0} }; struct timespec ts_kpps; pps_info_t pi; - /* pthread error return */ - int pthread_err; memset( (void *)&pi, 0, sizeof(pps_info_t)); #endif /* S_SPLINT_S */ + /* pthread error return */ + int pthread_err; #endif /* defined(HAVE_SYS_TIMEPPS_H) */ /* |