diff options
author | Guillem Jover <guillem@hadrons.org> | 2011-08-30 03:09:34 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-31 00:31:59 +0200 |
commit | 594ceb3c290e3fad3035a494b8451075bc913b40 (patch) | |
tree | bf78cb859fa01e6dcc2e8c16c895d89a004195e9 | |
parent | 2b4bff9914d57bff600ac70194b8b1aab3485bee (diff) |
Fix memcmp prototype
* include/string.h (memcmp): Remove bogus `*' from return type.
-rw-r--r-- | 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); |