diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-12 00:23:26 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-12 00:23:26 -0500 |
commit | d3d309e16b5004f92a3010b1305d2ed834f72166 (patch) | |
tree | d5042f9e64bd6c1daaa1238ca31598270e36f6b7 | |
parent | 5b3382dce406f2a520ff63b64d58f80e24ae74e2 (diff) | |
download | gpsd-d3d309e16b5004f92a3010b1305d2ed834f72166.tar.gz |
Shut up. splint!
All regression tests pass.
-rw-r--r-- | gpsd.h-tail | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index 85895c5c..1cb77cef 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -893,7 +893,8 @@ extern void pps_early_init(struct gps_context_t *); * this only handles the case where two normalized timespecs * are added or subracted. (e.g. only a one needs to be borrowed/carried */ -static inline void TS_NORM( struct timespec *ts) +/*@-type -noeffect@*/ /* splint is confused about struct timespec */ +/*@unused@*/static inline void TS_NORM( struct timespec *ts) { if ( ( 1 <= ts->tv_sec ) || ( (0 == ts->tv_sec ) && (0 <= ts->tv_nsec ) ) ) { @@ -920,6 +921,7 @@ static inline void TS_NORM( struct timespec *ts) } } } +/*@+type +noeffect@*/ /* normalize a timeval */ #define TV_NORM(tv) \ |