diff options
author | Gregory Fong <gregory.fong@virginorbit.com> | 2018-06-27 18:54:31 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-06-27 18:54:31 -0700 |
commit | e95d4cfe6fbb48b41f08cb040e99b50920197212 (patch) | |
tree | e1d108ce27a22e3e079f95ab06a68f923052fa5d | |
parent | 30b60cd7c8af566c641f97753c3fe50085aa7e14 (diff) | |
download | gpsd-e95d4cfe6fbb48b41f08cb040e99b50920197212.tar.gz |
gps_json.h: Declare struct gps_device_t
It seems like gps.h is always included before gps_json.h, which is an
odd requirement but acceptable. But it probably shouldn't require
including gpsd.h for one struct, so just declare gps_device_t here.
Signed-off-by: Gary E. Miller <gem@rellim.com>
-rw-r--r-- | gps_json.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -13,6 +13,9 @@ #ifdef __cplusplus extern "C" { #endif + +struct gps_device_t; + void json_data_report(const gps_mask_t, const struct gps_device_t *, const struct policy_t *, |