diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-07-14 13:38:41 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-07-14 13:38:41 -0400 |
commit | 3771dba081bd1175adab6096d7b6270d3822aaa1 (patch) | |
tree | a82f63ea6c73f50abf2e7485ac5860947a328327 /libgpsmm.cpp | |
parent | 0ed4411238709e8860029e6428baafe461985051 (diff) | |
download | gpsd-3771dba081bd1175adab6096d7b6270d3822aaa1.tar.gz |
Carry through and document the poll() -> read() change.
Diffstat (limited to 'libgpsmm.cpp')
-rw-r--r-- | libgpsmm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsmm.cpp b/libgpsmm.cpp index c1e5391f..b03db6e1 100644 --- a/libgpsmm.cpp +++ b/libgpsmm.cpp @@ -45,7 +45,7 @@ struct gps_data_t* gpsmm::send(const char *request) { } } -struct gps_data_t* gpsmm::poll(void) { +struct gps_data_t* gpsmm::read(void) { if (gps_read(gps_data)<=0) { // we return null if there was a read() error or connection is cloed by gpsd return NULL; |