diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-15 08:20:52 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-15 08:20:52 -0500 |
commit | 180fb26501501742b8464e916a8ebad1fe34141f (patch) | |
tree | b2a3fcaf8cbd3575e382dbc7f2e31010406396ed /gpsd.c | |
parent | 99bb21d9f08dae1ecfd0147b605d245aa78c8543 (diff) | |
download | gpsd-180fb26501501742b8464e916a8ebad1fe34141f.tar.gz |
Don't condition out thread locks when PPS disabled, gpsmon will need them.
All regression tests pass. PPS is live.
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -602,9 +602,7 @@ static ssize_t throttled_write(struct subscriber_t *sub, char *buf, } } -#if defined(PPS_ENABLE) gpsd_acquire_reporting_lock(); -#endif /* PPS_ENABLE */ status = send(sub->fd, buf, len, 0); #if defined(PPS_ENABLE) gpsd_release_reporting_lock(); |