diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-08-26 23:49:31 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-08-26 23:49:31 +0000 |
commit | b9cc68ba066757a71565fd29dd0e886a17bf2e21 (patch) | |
tree | 01d6463c81093c428f57f90d60d8f05791a6917d /gpsd.h-tail | |
parent | f57255209c5b25c74e1fd5c84b6636bf76f02298 (diff) | |
download | gpsd-b9cc68ba066757a71565fd29dd0e886a17bf2e21.tar.gz |
Add gps_errstr() to the client API so client code doesn't have to
reinvent it all the time. Use it in gpsmon.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index c874faa7..d0c519f6 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -462,6 +462,7 @@ extern void gpsd_position_fix_dump(struct gps_device_t *, /*@out@*/char[], size_ extern void gpsd_error_model(struct gps_device_t *, struct gps_fix_t *, struct gps_fix_t *); extern void gpsd_clear_data(struct gps_device_t *); extern int netlib_connectsock(const char *, const char *, const char *); +extern char /*@observer@*/ *netlib_errstr(const int); extern char /*@observer@*/ *sock2ip(int); extern void ntpshm_init(struct gps_context_t *, bool); |