summaryrefslogtreecommitdiff
path: root/libgps_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-26 20:32:31 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-03-26 20:32:31 -0400
commit81670f70953c4f99730c51bd17fb0c8a65972fe1 (patch)
tree4bcb44628916539218a8396162ae8ab6f5d5ff73 /libgps_core.c
parentd291c817be12a3472618d04897d967037bbc7192 (diff)
downloadgpsd-81670f70953c4f99730c51bd17fb0c8a65972fe1.tar.gz
Clear up some confusion about *_SET vs.. *_IS defines.
*_SET masks are library-side and for the set member of the fisx structure. *_IS masks are daemon-side and used only in the status mask returned by the packet analyzer methods, and code in the core library that uses same. Never the twain shall meet. All regression tests pass.
Diffstat (limited to 'libgps_core.c')
-rw-r--r--libgps_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgps_core.c b/libgps_core.c
index dbff7325..9983f8a6 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -763,7 +763,8 @@ int main(int argc, char *argv[])
case 's':
(void)
printf
- ("Sizes: gpsdata=%zd rtcm2=%zd rtcm3=%zd ais=%zd compass=%zd raw=%zd devices=%zd policy=%zd version=%zd, noise=%zd\n",
+ ("Sizes: fix=%zd gpsdata=%zd rtcm2=%zd rtcm3=%zd ais=%zd compass=%zd raw=%zd devices=%zd policy=%zd version=%zd, noise=%zd\n",
+ sizeof(struct gps_fix_t),
sizeof(struct gps_data_t), sizeof(struct rtcm2_t),
sizeof(struct rtcm3_t), sizeof(struct ais_t),
sizeof(struct attitude_t), sizeof(struct rawdata_t),