diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-12-06 01:46:59 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-12-06 01:46:59 +0000 |
commit | 06b3a292ffdca11b06fd381052900437315f87a0 (patch) | |
tree | 549c90985cd61d407e5fa4925faa6f3da205a33f /libgps_core.c | |
parent | 7eb06a950bbd30df099b5d0d08a84983b4c6b8c1 (diff) | |
download | gpsd-06b3a292ffdca11b06fd381052900437315f87a0.tar.gz |
Comment fix. All regression tests pass.
Diffstat (limited to 'libgps_core.c')
-rw-r--r-- | libgps_core.c | 9 |
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; } |