X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmemset.c;h=1f05cd9183858147bfbf08e1f27b0d3d97e91977;hb=07809063056aef043ba738ab8229042f1ffc9659;hp=5744bcbf7585dde15683be2084be2255657e9989;hpb=89f2b4892655a929a506eff123c9126a88e2c8eb;p=gnulib.git diff --git a/lib/memset.c b/lib/memset.c index 5744bcbf7..1f05cd918 100644 --- a/lib/memset.c +++ b/lib/memset.c @@ -1,5 +1,5 @@ /* memset.c -- set an area of memory to a given value - Copyright (C) 1991 Free Software Foundation, Inc. + Copyright (C) 1991, 2003, 2009-2011 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 @@ -13,10 +13,12 @@ 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. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -char * -memset (char *str, int c, unsigned int len) +#include + +void * +memset (void *str, int c, size_t len) { register char *st = str;