summaryrefslogtreecommitdiff
path: root/libgps_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-07 11:01:49 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-03-07 11:01:49 -0500
commit234a0c8d55149872cf79e96932814d9b2497456f (patch)
tree19937cb429a3cc29fb35fa0237c1054a8b4bfec6 /libgps_core.c
parentdecf24c2f8a880665f63e7e77726f5528c2c07c8 (diff)
downloadgpsd-234a0c8d55149872cf79e96932814d9b2497456f.tar.gz
Update documentation about gps_read() and gps_waiting().
Diffstat (limited to 'libgps_core.c')
-rw-r--r--libgps_core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libgps_core.c b/libgps_core.c
index ab1a3020..886b7eca 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -635,10 +635,6 @@ int gps_stream(struct gps_data_t *gpsdata, unsigned int flags,
if ((flags & (WATCH_JSON | WATCH_OLDSTYLE | WATCH_NMEA | WATCH_RAW)) == 0) {
flags |= WATCH_JSON;
}
-#ifndef USE_QT
- if (flags & POLL_NONBLOCK)
- (void)fcntl(gpsdata->gps_fd, F_SETFL, O_NONBLOCK);
-#endif
if ((flags & WATCH_DISABLE) != 0) {
if ((flags & WATCH_OLDSTYLE) != 0) {
(void)strlcpy(buf, "w-", sizeof(buf));