diff options
author | Gary E. Miller <gem@rellim.com> | 2018-12-27 13:36:42 -0800 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-12-27 13:36:42 -0800 |
commit | e78d969bba817247dab11db9f366ac4ae4e5ac37 (patch) | |
tree | a21c644799f6205115446fdf35a1f29747825c6c /timespec.h | |
parent | e9c69f0b5f95599277857b4899e75ea1f4f4ddf4 (diff) | |
download | gpsd-e78d969bba817247dab11db9f366ac4ae4e5ac37.tar.gz |
nanowait(): move prototupe from gpsd.h to timespec.h
Any client can include timespec.h, clients do not include gpsd.h
Diffstat (limited to 'timespec.h')
-rw-r--r-- | timespec.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -6,6 +6,8 @@ #ifndef GPSD_TIMESPEC_H #define GPSD_TIMESPEC_H +#include <stdbool.h> /* for bool */ + /* normalize a timespec * * three cases to note @@ -103,6 +105,8 @@ static inline void TS_NORM( struct timespec *ts) extern void timespec_str(const struct timespec *, char *, size_t); +bool nanowait(int, int); + #endif /* GPSD_TIMESPEC_H */ /* end */ |