[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
- [PATCH gnumach 00/16] Another round of warning fixes, Guillem Jover, 2011/08/29
- [PATCH gnumach 01/16] Move Linux module macros to their original header, Guillem Jover, 2011/08/29
- [PATCH gnumach 13/16] Denote __exit symbols as used, Guillem Jover, 2011/08/29
- [PATCH gnumach 08/16] Fix memcmp prototype,
Guillem Jover <=
- [PATCH gnumach 05/16] Remove unused variable, Guillem Jover, 2011/08/29
- [PATCH gnumach 03/16] Cast function timeout() argument to fix a warning, Guillem Jover, 2011/08/29
- [PATCH gnumach 02/16] Return a value on non-void function, Guillem Jover, 2011/08/29
- [PATCH gnumach 14/16] Correct MiG Mach types to fix compilation warnings, Guillem Jover, 2011/08/29
- [PATCH gnumach 12/16] Move <linux/init.h> from linux/pcmcia-cs to linux/src, Guillem Jover, 2011/08/29