summaryrefslogtreecommitdiff
path: root/qcom/rmtfs/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'qcom/rmtfs/util.h')
-rw-r--r--qcom/rmtfs/util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/qcom/rmtfs/util.h b/qcom/rmtfs/util.h
new file mode 100644
index 0000000..3a9ec3e
--- /dev/null
+++ b/qcom/rmtfs/util.h
@@ -0,0 +1,9 @@
+#ifndef __UTIL_H__
+#define __UTIL_H__
+
+#define MIN(x, y) ((x) < (y) ? (x) : (y))
+#define MAX(x, y) ((x) > (y) ? (x) : (y))
+
+void print_hex_dump(const char *prefix, const void *buf, size_t len);
+
+#endif