summaryrefslogtreecommitdiff
path: root/bits.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-04-19 17:32:48 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-04-19 17:32:48 -0400
commit38e09bb74ccdd927768389b007a5f98872115849 (patch)
tree77ee4f7029cbe9fca2f10d9f1002d661b4a219f5 /bits.h
parent14f69ce81a55203d35a9606ef7ed917a12375a7e (diff)
downloadgpsd-38e09bb74ccdd927768389b007a5f98872115849.tar.gz
More steps towards little-endiuan extraction.
All normal regressions tests and the test_bits unit test pass.
Diffstat (limited to 'bits.h')
-rw-r--r--bits.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bits.h b/bits.h
index 28e8a0b4..519d5a0d 100644
--- a/bits.h
+++ b/bits.h
@@ -81,7 +81,7 @@ union long_double {
(void)memcpy(to, from+2*(s)-2, 2*((e)-(s)+1))
/* bitfield extraction */
-extern uint64_t ubebits(char buf[], unsigned int, unsigned int);
-extern int64_t sbebits(char buf[], unsigned int, unsigned int);
+extern uint64_t ubits(char buf[], unsigned int, unsigned int, bool);
+extern int64_t sbits(char buf[], unsigned int, unsigned int, bool);
#endif /* _GPSD_BITS_H_ */