summaryrefslogtreecommitdiff
path: root/libgps_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-12-06 01:46:59 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-12-06 01:46:59 +0000
commit06b3a292ffdca11b06fd381052900437315f87a0 (patch)
tree549c90985cd61d407e5fa4925faa6f3da205a33f /libgps_core.c
parent7eb06a950bbd30df099b5d0d08a84983b4c6b8c1 (diff)
downloadgpsd-06b3a292ffdca11b06fd381052900437315f87a0.tar.gz
Comment fix. All regression tests pass.
Diffstat (limited to 'libgps_core.c')
-rw-r--r--libgps_core.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libgps_core.c b/libgps_core.c
index 87f39819..af48b04a 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -576,11 +576,6 @@ int gps_unpack(char *buf, struct gps_data_t *gpsdata)
/*@ +compdef @*/
/*@ -branchstate +usereleased +mustfreefresh +nullstate +usedef @*/
-/*
- * return: 0, success
- * -1, read error
- */
-
bool gps_waiting(struct gps_data_t *gpsdata)
/* is there input waiting from the GPS? */
{
@@ -612,6 +607,10 @@ int gps_poll(struct gps_data_t *gpsdata)
received = gpsdata->online = timestamp();
status = gps_unpack(buf, gpsdata);
+ /*
+ * return: 0, success
+ * -1, read error
+ */
return status;
}