projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic date update in version.in
[binutils-gdb.git]
/
libiberty
/
memset.c
diff --git
a/libiberty/memset.c
b/libiberty/memset.c
index 1951ad6bd610c836367f8d0299f44f9ec13f8f7c..084e5dc01584390d212ec915c50e2b404f1cffe0 100644
(file)
--- a/
libiberty/memset.c
+++ b/
libiberty/memset.c
@@
-3,7
+3,8
@@
/*
/*
-@deftypefn Supplemental void* memset (void *@var{s}, int @var{c}, size_t @var{count})
+@deftypefn Supplemental void* memset (void *@var{s}, int @var{c}, @
+ size_t @var{count})
Sets the first @var{count} bytes of @var{s} to the constant byte
@var{c}, returning a pointer to @var{s}.
Sets the first @var{count} bytes of @var{s} to the constant byte
@var{c}, returning a pointer to @var{s}.
@@
-15,8
+16,8
@@
Sets the first @var{count} bytes of @var{s} to the constant byte
#include <ansidecl.h>
#include <stddef.h>
#include <ansidecl.h>
#include <stddef.h>
-PTR
-memset (
PTR
dest, register int val, register size_t len)
+void *
+memset (
void *
dest, register int val, register size_t len)
{
register unsigned char *ptr = (unsigned char*)dest;
while (len-- > 0)
{
register unsigned char *ptr = (unsigned char*)dest;
while (len-- > 0)