summaryrefslogtreecommitdiff
path: root/ppsthread.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-03-31 23:05:02 -0400
committerEric S. Raymond <esr@thyrsus.com>2015-03-31 23:05:02 -0400
commitdd115a4908291a53900fb49ad6ea8ecaaa02e86e (patch)
treeaa28139e9a098f0631fd611b771e39c0de1a9d35 /ppsthread.c
parent22900f7ee1e580da46743a8df514403f46d86fba (diff)
downloadgpsd-dd115a4908291a53900fb49ad6ea8ecaaa02e86e.tar.gz
pps_canwait needs to be visible in TIOCCMIWAIT case.
Diffstat (limited to 'ppsthread.c')
-rw-r--r--ppsthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppsthread.c b/ppsthread.c
index 59e3206a..1f770074 100644
--- a/ppsthread.c
+++ b/ppsthread.c
@@ -114,9 +114,9 @@ static int get_edge_tiocmiwait( volatile struct pps_thread_t *,
struct inner_context_t {
volatile struct pps_thread_t *pps_thread;
+ bool pps_canwait; /* can RFC2783 wait? */
#if defined(HAVE_SYS_TIMEPPS_H)
int pps_caps; /* RFC2783 getcaps() */
- bool pps_canwait; /* can RFC2783 wait? */
pps_handle_t kernelpps_handle;
#endif /* defined(HAVE_SYS_TIMEPPS_H) */
};