summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-03-30 16:18:16 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-03-30 16:18:16 -0400
commit8e556eec6477b65dc32eff7e685ae83028bd418a (patch)
treee70f27d6b5ece6508ce9b30f251e5282d7f7f226
parent4044f1bffb8e146dd984a5f866ad61191f6b658a (diff)
downloadgpsd-8e556eec6477b65dc32eff7e685ae83028bd418a.tar.gz
Using WATCH_NEWSTYLE makes a poor example now that NEWSTYLE is the default.
-rw-r--r--cgps.c2
-rw-r--r--gpxlogger.c2
-rw-r--r--lcdgps.c2
-rw-r--r--xgpsspeed.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/cgps.c b/cgps.c
index 0c0bc473..207288d6 100644
--- a/cgps.c
+++ b/cgps.c
@@ -830,7 +830,7 @@ int main(int argc, char *argv[])
status_timer = time(NULL);
- (void)gps_stream(gpsdata, WATCH_ENABLE|WATCH_NEWSTYLE, NULL);
+ (void)gps_stream(gpsdata, WATCH_ENABLE, NULL);
/* heart of the client */
for (;;) {
diff --git a/gpxlogger.c b/gpxlogger.c
index 8bd71173..a936f1dc 100644
--- a/gpxlogger.c
+++ b/gpxlogger.c
@@ -305,7 +305,7 @@ static int socket_mainloop(void)
}
gps_set_raw_hook(gpsdata, process);
- gps_stream(gpsdata, WATCH_ENABLE|WATCH_NEWSTYLE, NULL);
+ gps_stream(gpsdata, WATCH_ENABLE, NULL);
for(;;) {
int data;
diff --git a/lcdgps.c b/lcdgps.c
index ab327005..b784184a 100644
--- a/lcdgps.c
+++ b/lcdgps.c
@@ -521,7 +521,7 @@ int main(int argc, char *argv[])
/* Here's where updates go. */
gps_set_raw_hook(gpsdata, update_lcd);
- gps_stream(gpsdata, WATCH_ENABLE|WATCH_NEWSTYLE, NULL);
+ gps_stream(gpsdata, WATCH_ENABLE, NULL);
for (;;) { /* heart of the client */
diff --git a/xgpsspeed.c b/xgpsspeed.c
index c9b7d622..81d7e2d1 100644
--- a/xgpsspeed.c
+++ b/xgpsspeed.c
@@ -176,7 +176,7 @@ int main(int argc, char **argv)
gps_set_raw_hook(gpsdata, update_display);
- (void)gps_stream(gpsdata, WATCH_ENABLE|WATCH_NEWSTYLE, NULL);
+ (void)gps_stream(gpsdata, WATCH_ENABLE, NULL);
(void)XtAppMainLoop(app);