X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrndup.c;h=6b01f7dfbe157a01eba31296313166fca7a29943;hb=692a15c587c6d741cba6423319efcc957c45c9cb;hp=290f494f4e2b69179a08b03ca5b7f10a07d0025d;hpb=cdd246abc713a8fd65892452d135ce36ca0aae62;p=gnulib.git diff --git a/lib/strndup.c b/lib/strndup.c index 290f494f4..6b01f7dfb 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, 1997, 1998, 2001, 2002, 2003, 2005, 2006, 2007, 2009, + 2010 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)