From 1998c0301f6f9542bf5dd51e8d18f3d7f4e76023 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 27 Dec 2018 05:39:42 -0500 Subject: Factor most uses of pselect(2) into a new utility function named 'nanowait'. Also, remove sime header inclusions discovered to be unnecessary during the change. --- gpsd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gpsd.h') diff --git a/gpsd.h b/gpsd.h index c2f19b29..127989d4 100644 --- a/gpsd.h +++ b/gpsd.h @@ -928,6 +928,8 @@ extern void ntpshm_link_activate(struct gps_device_t *); #endif /* NTPSHM_ENABLE */ #endif /* NTP_ENABLE */ +bool nanowait(int, int); + extern void errout_reset(struct gpsd_errout_t *errout); extern void gpsd_acquire_reporting_lock(void); -- cgit v1.2.1