diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-05-27 18:44:40 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-05-27 18:44:40 +0000 |
commit | 676ae29038b2f0585f75a74d2ba2a1acc559aa7b (patch) | |
tree | 09d087fa060fe78e026da7dfc9a37ce8e9bf6662 | |
parent | 70bff2d5033567544fa1970b02699060974b2d70 (diff) | |
download | newlib-676ae29038b2f0585f75a74d2ba2a1acc559aa7b.zip newlib-676ae29038b2f0585f75a74d2ba2a1acc559aa7b.tar.gz newlib-676ae29038b2f0585f75a74d2ba2a1acc559aa7b.tar.bz2 |
2008-05-27 Jeff Johnston <jjohnstn@redhat.com>
* libc/string/memset.c: Fix documented prototype to remove
erroneous const attribute on first parameter.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/string/memset.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index fd19b2f..2e9ecc4 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2008-05-27 Jeff Johnston <jjohnstn@redhat.com> + + * libc/string/memset.c: Fix documented prototype to remove + erroneous const attribute on first parameter. + 2008-05-26 Eric Blake <ebb9@byu.net> Optimize the generic and x86 memchr. diff --git a/newlib/libc/string/memset.c b/newlib/libc/string/memset.c index 8dbb5f8..55d2ce1 100644 --- a/newlib/libc/string/memset.c +++ b/newlib/libc/string/memset.c @@ -7,7 +7,7 @@ INDEX ANSI_SYNOPSIS #include <string.h> - void *memset(const void *<[dst]>, int <[c]>, size_t <[length]>); + void *memset(void *<[dst]>, int <[c]>, size_t <[length]>); TRAD_SYNOPSIS #include <string.h> |