summaryrefslogtreecommitdiff
path: root/ppsthread.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-12 14:26:13 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-12 14:26:13 -0500
commitea63b713a8c8b222a64d084b1e1bc9ff0a172351 (patch)
tree595256378f1a8e5f1adda4d267d7e68772545560 /ppsthread.c
parentc20d6ea513529c2c59135b57bcbb215735b81bd2 (diff)
downloadgpsd-ea63b713a8c8b222a64d084b1e1bc9ff0a172351.tar.gz
pyjrad_err has to be unconditionally available.
Diffstat (limited to 'ppsthread.c')
-rw-r--r--ppsthread.c4
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) */
/*