X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrndup.c;h=dd446a88ff10265987b328b5b252a4c076c014ec;hb=5f1e41e3755fc46e97ca3ada87779d60751417d2;hp=290f494f4e2b69179a08b03ca5b7f10a07d0025d;hpb=cdd246abc713a8fd65892452d135ce36ca0aae62;p=gnulib.git diff --git a/lib/strndup.c b/lib/strndup.c index 290f494f4..dd446a88f 100644 --- a/lib/strndup.c +++ b/lib/strndup.c @@ -1,7 +1,7 @@ /* A replacement function, for systems that lack strndup. - Copyright (C) 1996, 1997, 1998, 2001, 2002, 2003, 2005, 2006 Free - Software Foundation, Inc. + Copyright (C) 1996-1998, 2001-2003, 2005-2007, 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 the @@ -18,12 +18,10 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include -#include "strndup.h" -#include #include -#include "strnlen.h" +#include char * strndup (char const *s, size_t n)