diff options
author | Zbigniew Chyla <zbigniew.chyla@nsn.com> | 2015-02-16 01:30:08 +0100 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-15 22:03:53 -0500 |
commit | 68eaa6fc71f4d03b8d6fc3361569ba0906ee394d (patch) | |
tree | 1ef466709b8cdc402d4afbee2aea02a71dcbe3e2 /gpsd.h-tail | |
parent | 780a9efb4c6fe2330489fe835ba5c908b588c4ea (diff) | |
download | gpsd-68eaa6fc71f4d03b8d6fc3361569ba0906ee394d.tar.gz |
timespec_str: add "const" to input argument
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index 8912e244..4f6ea32e 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -958,7 +958,7 @@ extern void pps_early_init(struct gps_context_t *); TS_NORM( r ); \ } while (0) -extern int timespec_str(struct timespec *, /*@out@*/char *, int); +extern int timespec_str(const struct timespec *, /*@out@*/char *, int); #define TIMESPEC_LEN 22 /* required length of a timespec buffer */ extern void pps_thread_stash_fixtime(struct gps_device_t *, |