summaryrefslogtreecommitdiff
path: root/bits.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-05-11 02:00:33 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-05-11 02:00:33 -0400
commita4773c09be2be3dbc8daa789971ebc514ceeaa3c (patch)
tree479f0b9dfa936f869bd40058175841b1091e2cc9 /bits.h
parent58cdea90090b69dcafa44c1452454a8d16f107eb (diff)
downloadgpsd-a4773c09be2be3dbc8daa789971ebc514ceeaa3c.tar.gz
Fix confusing whitespace.
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 519d5a0d..95c849cf 100644
--- a/bits.h
+++ b/bits.h
@@ -63,8 +63,8 @@ union long_double {
#define getbes64(buf, off) ((int64_t)(((uint64_t)getbeu32(buf, (off)) << 32) | getbeu32(buf, (off)+4)))
#define getbeu64(buf, off) ((uint64_t)(((uint64_t)getbeu32(buf, (off)) << 32) | getbeu32(buf, (off)+4)))
-#define putbe16(buf,off,w) do {putbyte(buf, (off) ,(w) >> 8); putbyte(buf, (off)+1, (w));} while (0)
-#define putbe32(buf,off,l) do {putbe16(buf, (off) ,(l) >> 16); putbe16(buf, (off)+2, (l));} while (0)
+#define putbe16(buf,off,w) do {putbyte(buf, (off), (w) >> 8); putbyte(buf, (off)+1, (w));} while (0)
+#define putbe32(buf,off,l) do {putbe16(buf, (off), (l) >> 16); putbe16(buf, (off)+2, (l));} while (0)
#define getbef(buf, off) (i_f.i = getbes32(buf, off), i_f.f)
#define getbed(buf, off) (l_d.l = getbes64(buf, off), l_d.d)