diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-11-29 04:15:51 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-11-29 04:15:51 +0000 |
commit | 34c34d4438e50f29fbfcffe5c3c9ef1039d22d8a (patch) | |
tree | 6ac7029cf9276b3e09287be3db8ca6e8617f853a /libgpsmm.cpp | |
parent | ec57a26d8aeb8e7548135108fd800184e9122165 (diff) | |
download | gpsd-34c34d4438e50f29fbfcffe5c3c9ef1039d22d8a.tar.gz |
Thread-hook support and documentation removed.
Diffstat (limited to 'libgpsmm.cpp')
-rw-r--r-- | libgpsmm.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libgpsmm.cpp b/libgpsmm.cpp index 014fc3ef..85b675ab 100644 --- a/libgpsmm.cpp +++ b/libgpsmm.cpp @@ -56,18 +56,6 @@ struct gps_data_t* gpsmm::poll(void) { } } -int gpsmm::set_callback(void (*hook)(struct gps_data_t *sentence, char *buf, size_t len)) { - handler = new pthread_t; - return gps_set_callback(gps_data,hook,handler); -} - -int gpsmm::del_callback(void) { - int res; - res=gps_del_callback(gps_data,handler); - delete handler; - return res; -} - void gpsmm::clear_fix(void) { gps_clear_fix(&(gps_data->fix)); } |