summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-10-01 18:19:38 -0700
committerGary E. Miller <gem@rellim.com>2018-10-01 18:28:45 -0700
commit236aa456d8f148870c80fde47fdea6b685d4d3b1 (patch)
treed32cd4786dc6faec32774e028fbd287c6eda415e /gpsd.h
parentcf4f65399f138d8b57b87d3a4ded4ff7424f5b7c (diff)
downloadgpsd-236aa456d8f148870c80fde47fdea6b685d4d3b1.tar.gz
Versions in C and Python were out of sync.
Add notes as reminder for next change.
Diffstat (limited to 'gpsd.h')
-rw-r--r--gpsd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gpsd.h b/gpsd.h
index 74fa9868..a1bd1c31 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -53,8 +53,9 @@ extern "C" {
* 3.13 gnssid:svid added to SAT
* time added to ATT
*/
-#define GPSD_PROTO_MAJOR_VERSION 3 /* bump on incompatible changes */
-#define GPSD_PROTO_MINOR_VERSION 13 /* bump on compatible changes */
+/* Keep in sync with api_major_version and api_minor gps/__init__.py */
+#define GPSD_PROTO_MAJOR_VERSION 3 /* bump on incompatible changes */
+#define GPSD_PROTO_MINOR_VERSION 13 /* bump on compatible changes */
#define JSON_DATE_MAX 24 /* ISO8601 timestamp with 2 decimal places */