From e78d969bba817247dab11db9f366ac4ae4e5ac37 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Thu, 27 Dec 2018 13:36:42 -0800 Subject: nanowait(): move prototupe from gpsd.h to timespec.h Any client can include timespec.h, clients do not include gpsd.h --- timespec.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'timespec.h') diff --git a/timespec.h b/timespec.h index 8d36a9ec..1ff7a6df 100644 --- a/timespec.h +++ b/timespec.h @@ -6,6 +6,8 @@ #ifndef GPSD_TIMESPEC_H #define GPSD_TIMESPEC_H +#include /* 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 */ -- cgit v1.2.1