bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH gnumach 08/16] Fix memcmp prototype


From: Guillem Jover
Subject: [PATCH gnumach 08/16] Fix memcmp prototype
Date: Tue, 30 Aug 2011 03:09:34 +0200

* include/string.h (memcmp): Remove bogus `*' from return type.
---
 include/string.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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);
 
-- 
1.7.5.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]