projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT
[gnulib.git]
/
lib
/
memset.c
diff --git
a/lib/memset.c
b/lib/memset.c
index
5744bcb
..
4564bc6
100644
(file)
--- a/
lib/memset.c
+++ b/
lib/memset.c
@@
-1,5
+1,5
@@
/* memset.c -- set an area of memory to a given value
/* memset.c -- set an area of memory to a given value
- Copyright (C) 1991 Free Software Foundation, Inc.
+ Copyright (C) 1991
, 2003, 2009-2013
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-12,11
+12,14
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
-char *
-memset (char *str, int c, unsigned int len)
+#include <config.h>
+
+#include <stddef.h>
+
+void *
+memset (void *str, int c, size_t len)
{
register char *st = str;
{
register char *st = str;