OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2009-05-25 Tristan Gingold <gingold@adacore.com>
[pf3gnuchains/gcc-fork.git]
/
libiberty
/
memcmp.c
diff --git
a/libiberty/memcmp.c
b/libiberty/memcmp.c
index
d8d3997
..
39edfca
100644
(file)
--- a/
libiberty/memcmp.c
+++ b/
libiberty/memcmp.c
@@
-16,15
+16,10
@@
as if comparing unsigned char arrays.
*/
#include <ansidecl.h>
*/
#include <ansidecl.h>
-#ifdef __STDC__
#include <stddef.h>
#include <stddef.h>
-#else
-#define size_t unsigned long
-#endif
int
int
-DEFUN(memcmp, (str1, str2, count),
- const PTR str1 AND const PTR str2 AND size_t count)
+memcmp (const PTR str1, const PTR str2, size_t count)
{
register const unsigned char *s1 = (const unsigned char*)str1;
register const unsigned char *s2 = (const unsigned char*)str2;
{
register const unsigned char *s1 = (const unsigned char*)str1;
register const unsigned char *s2 = (const unsigned char*)str2;