summaryrefslogtreecommitdiff
path: root/firmware/lib/include/utility.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/include/utility.h')
-rw-r--r--firmware/lib/include/utility.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/firmware/lib/include/utility.h b/firmware/lib/include/utility.h
index aaddb8c8..9f191701 100644
--- a/firmware/lib/include/utility.h
+++ b/firmware/lib/include/utility.h
@@ -46,18 +46,6 @@
/* Return the minimum of (a) or (b). */
#define Min(a, b) (((a) < (b)) ? (a) : (b))
-/**
- * Compare [n] bytes starting at [s1] with [s2] and return 0 if they
- * match, 1 if they don't. Returns 0 if n=0, since no bytes mismatched.
- *
- * Time taken to perform the comparison is only dependent on [n] and
- * not on the relationship of the match between [s1] and [s2].
- *
- * Note that unlike memcmp(), this only indicates inequality, not
- * whether s1 is less than or greater than s2.
- */
-int SafeMemcmp(const void *s1, const void *s2, size_t n);
-
/*
* Buffer size required to hold the longest possible output of Uint64ToString()
* - that is, Uint64ToString(~0, 2).