summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/common.h b/common.h
index 0cefcb8d..63f0f010 100644
--- a/common.h
+++ b/common.h
@@ -4,16 +4,4 @@
#define min(x,y) ((x)<(y)?(x):(y))
#define max(x,y) ((x)>(y)?(x):(y))
-inline void
-le_int16 (int16_t in, char *out) {
- char *pin = (char *)&in;
-#if !BIGENDIAN
- out[0] = pin[0];
- out[1] = pin[1];
-#else
- out[1] = pin[0];
- out[0] = pin[1];
-#endif
-}
-
#endif // __COMMON_H