diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-07 09:33:02 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-07 09:33:02 -0500 |
commit | a08a5e6f15f37e3656872751796b6155913fbb6b (patch) | |
tree | dfd22812d1f8bcc6dffb99ece8c210565eb373bd /compiler.h | |
parent | ea1df3fc35f9a87875f4566fa442e4e28f88b017 (diff) | |
download | gpsd-a08a5e6f15f37e3656872751796b6155913fbb6b.tar.gz |
Prevent splint from coughing up a hairball.
Diffstat (limited to 'compiler.h')
-rw-r--r-- | compiler.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -31,9 +31,11 @@ assert(locresult != -23); \ } while (0) +#ifndef S_SPLINT_S #ifdef HAVE_STDATOMIC_H #include <stdatomic.h> #endif /* HAVE_STDATOMIC_H */ +#endif /* S_SPLINT_S */ static /*@unused@*/ inline void memory_barrier(void) /* prevent instruction reordering across any call to this function */ |