diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-06 20:38:37 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-06 20:38:37 -0500 |
commit | 56e719970de0fcbbc6c086159f31f82b5eb35128 (patch) | |
tree | eec477c566d221cb1823935155231f38036e778c /bits.c | |
parent | f1e30c3197910f319cf2d624666be87a0580b82a (diff) | |
download | gpsd-56e719970de0fcbbc6c086159f31f82b5eb35128.tar.gz |
Code is fully cppcheck, splint, and Coverity clean.
All regression tests pass. PPS is live.
Diffstat (limited to 'bits.c')
-rw-r--r-- | bits.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -137,7 +137,6 @@ void putbed64(char *buf, int off, double val) /*@+shiftimplementation -ignoresigns@*/ } -// cppcheck-suppress unusedFunction u_int16_t swap_u16(u_int16_t i) /* byte-swap a 16-bit unsigned int */ { @@ -149,7 +148,6 @@ u_int16_t swap_u16(u_int16_t i) return (c1 << 8) + c2; } -// cppcheck-suppress unusedFunction u_int32_t swap_u32(u_int32_t i) /* byte-swap a 32-bit unsigned int */ { @@ -163,7 +161,6 @@ u_int32_t swap_u32(u_int32_t i) return ((u_int32_t)c1 << 24) + ((u_int32_t)c2 << 16) + ((u_int32_t)c3 << 8) + c4; } -// cppcheck-suppress unusedFunction u_int64_t swap_u64(u_int64_t i) /* byte-swap a 64-bit unsigned int */ { |