diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-09-29 21:18:51 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-09-29 21:18:51 -0400 |
commit | 44c6a6b7f969e0c31044a6f478a2f6fdad392e92 (patch) | |
tree | d6a3b6cdefbb476726c73b3697b7b3025f695328 /gpsdclient.h | |
parent | 104f47e1ebf631650bb7be15f2390c4632e82316 (diff) | |
download | gpsd-44c6a6b7f969e0c31044a6f478a2f6fdad392e92.tar.gz |
Refactoring and splint cleanup.
Diffstat (limited to 'gpsdclient.h')
-rw-r--r-- | gpsdclient.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gpsdclient.h b/gpsdclient.h index 20b9abc2..a3169586 100644 --- a/gpsdclient.h +++ b/gpsdclient.h @@ -26,12 +26,13 @@ struct fixsource_t /*@null@*/char *device; }; -/*null observer*/struct exportmethod_t *export_lookup(const char *); -/*null observer*/struct exportmethod_t *export_default(void); +/*@null observer@*/struct exportmethod_t *export_lookup(const char *); +/*@null observer@*/struct exportmethod_t *export_default(void); void export_list(FILE *); enum unit {unspecified, imperial, nautical, metric}; enum unit gpsd_units(void); enum deg_str_type { deg_dd, deg_ddmm, deg_ddmmss }; +float true2magnetic(double, double, double); extern /*@observer@*/ char *deg_to_str( enum deg_str_type type, double f); |