summaryrefslogtreecommitdiff
path: root/src/headers/uint16-bswap
diff options
context:
space:
mode:
Diffstat (limited to 'src/headers/uint16-bswap')
-rw-r--r--src/headers/uint16-bswap2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/headers/uint16-bswap b/src/headers/uint16-bswap
new file mode 100644
index 0000000..2bf5c8e
--- /dev/null
+++ b/src/headers/uint16-bswap
@@ -0,0 +1,2 @@
+
+#define UINT16_BSWAP(a) (((a) & 0x00ffu) << 8 | ((a) & 0xff00u) >> 8)