From 1f4e410fdcff7cc96c5a0c0fb97172871d0ae347 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 15 Aug 2020 15:38:07 -0400 Subject: implement in terms of equivalent --- src/strings/bcmp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/strings/bcmp.c') diff --git a/src/strings/bcmp.c b/src/strings/bcmp.c index 0686ebdf..052beb7c 100644 --- a/src/strings/bcmp.c +++ b/src/strings/bcmp.c @@ -1,8 +1,9 @@ +#include #include int bcmp(const void *s1, const void *s2, size_t n) { - return 0; + return memcmp(s1, s2, n); } /* -- cgit v1.2.1