summaryrefslogtreecommitdiff
path: root/libgpsmm.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-06-12 03:59:33 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-06-12 03:59:33 +0000
commitaf07210a5fba210573a84f88164886edec9d72c4 (patch)
tree48edfdfd82d2513a41802df2bd596537cefd632b /libgpsmm.h
parent21be3a62c11cb671eddfba98f599f451e7f152de (diff)
downloadgpsd-af07210a5fba210573a84f88164886edec9d72c4.tar.gz
Clean up after the raw_hook architecture change.
Diffstat (limited to 'libgpsmm.h')
-rw-r--r--libgpsmm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsmm.h b/libgpsmm.h
index b9069d83..635114c0 100644
--- a/libgpsmm.h
+++ b/libgpsmm.h
@@ -28,7 +28,7 @@ class gpsmm {
struct gps_data_t* open(void); //open() with default values
struct gps_data_t* query(const char *request); //put a command to gpsd and return the updated struct
struct gps_data_t* poll(void); //block until gpsd returns new data, then return the updated struct
- int set_callback(void (*hook)(struct gps_data_t *sentence, char *buf, int len, int level)); //set a callback funcition, called each time new data arrives
+ int set_callback(void (*hook)(struct gps_data_t *sentence, char *buf, size_t len, int level)); //set a callback funcition, called each time new data arrives
int del_callback(void); //delete the callback function
void clear_fix(void);