From 594ceb3c290e3fad3035a494b8451075bc913b40 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 30 Aug 2011 03:09:34 +0200 Subject: Fix memcmp prototype * include/string.h (memcmp): Remove bogus `*' from return type. --- include/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/string.h b/include/string.h index 8059bed..c77d387 100644 --- a/include/string.h +++ b/include/string.h @@ -32,7 +32,7 @@ extern void *memcpy (void *dest, const void *src, size_t n); extern void *memmove (void *dest, const void *src, size_t n); -extern int *memcmp (const void *s1, const void *s2, size_t n); +extern int memcmp (const void *s1, const void *s2, size_t n); extern void *memset (void *s, int c, size_t n); -- cgit v1.2.3