diff options
Diffstat (limited to 'sysdeps/libufdt_sysdeps_vendor.c')
-rw-r--r-- | sysdeps/libufdt_sysdeps_vendor.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/libufdt_sysdeps_vendor.c b/sysdeps/libufdt_sysdeps_vendor.c index e21a2e1..12e7695 100644 --- a/sysdeps/libufdt_sysdeps_vendor.c +++ b/sysdeps/libufdt_sysdeps_vendor.c @@ -194,6 +194,10 @@ unsigned long int dto_strtoul(const char *nptr, char **endptr, int base) { size_t dto_strlen(const char *s) { return strlen(s); } +int dto_memcmp(const void *lhs, const void *rhs, size_t n) { + return memcmp(lhs, rhs, n); +} + void *dto_memcpy(void *dest, const void *src, size_t n) { return memcpy(dest, src, n); } |