summaryrefslogtreecommitdiff
path: root/libgpsmm.cpp
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-05-24 10:12:26 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-05-24 10:12:26 +0000
commite8a108fc351ac34f32385ed3018f4e036b4a5a0b (patch)
treef2c2785e09d7007276cf7c725e237ec6491166d8 /libgpsmm.cpp
parent44958a2a8a4ba4c9d3f0c2fecffe0b95722db5f6 (diff)
downloadgpsd-e8a108fc351ac34f32385ed3018f4e036b4a5a0b.tar.gz
Support R=2.
Diffstat (limited to 'libgpsmm.cpp')
-rw-r--r--libgpsmm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsmm.cpp b/libgpsmm.cpp
index 908d49c5..b63a12b6 100644
--- a/libgpsmm.cpp
+++ b/libgpsmm.cpp
@@ -38,7 +38,7 @@ struct gps_data_t* gpsmm::poll(void) {
}
}
-int gpsmm::set_callback(void (*hook)(struct gps_data_t *sentence, char *buf)) {
+int gpsmm::set_callback(void (*hook)(struct gps_data_t *sentence, char *buf, int level)) {
handler = new pthread_t;
return gps_set_callback(gps_data,hook,handler);
}