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. --- libgpsd_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgpsd_core.c') diff --git a/libgpsd_core.c b/libgpsd_core.c index cc7d5fbd..e46104ff 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -1060,7 +1060,7 @@ int gpsd_await_data(fd_set *rfds, * pselect(2) has to poll here as small as possible (for * low-clock-rate SBCs and the like). * - * pselect() is preferable to vanilla select, to eliminate + * pselect(2) is preferable to vanilla select, to eliminate * the once-per-second wakeup when no sensors are attached. * This cuts power consumption. */ -- cgit v1.2.1