diff options
author | Greg Troxel <gdt@ir.bbn.com> | 2009-11-22 14:27:09 +0000 |
---|---|---|
committer | Greg Troxel <gdt@ir.bbn.com> | 2009-11-22 14:27:09 +0000 |
commit | 633e365576175cee8b0161f87c44055c52461458 (patch) | |
tree | 00ec0fce5eda3dbd913a18aedf7341aedb0dfde5 /test_gpsmm.cpp | |
parent | ea945c602112a83bbec12988c8057a4acf748c31 (diff) | |
download | gpsd-633e365576175cee8b0161f87c44055c52461458.tar.gz |
Adjust type of local callback function to match type in the .h file.
This removes "int level", which was unused anyway.
Diffstat (limited to 'test_gpsmm.cpp')
-rw-r--r-- | test_gpsmm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test_gpsmm.cpp b/test_gpsmm.cpp index 23a8e3ed..b238d076 100644 --- a/test_gpsmm.cpp +++ b/test_gpsmm.cpp @@ -16,7 +16,7 @@ using namespace std; -static void callback(struct gps_data_t* p, char* buf, size_t len, int level); +static void callback(struct gps_data_t* p, char* buf, size_t len); int main(void) { gpsmm gps_rec; @@ -49,7 +49,7 @@ int main(void) { return 0; } -static void callback(struct gps_data_t* p, char* buf, size_t len, int level) { +static void callback(struct gps_data_t* p, char* buf, size_t len) { if (p==NULL) { cout << "Error polling gpsd\n"; |