summaryrefslogtreecommitdiff
path: root/src/strings/bcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings/bcmp.c')
-rw-r--r--src/strings/bcmp.c3
1 files changed, 2 insertions, 1 deletions
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 <string.h>
#include <strings.h>
int bcmp(const void *s1, const void *s2, size_t n)
{
- return 0;
+ return memcmp(s1, s2, n);
}
/*