X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fgetline.c;h=0b3e1b4bca85c69eaa6993aba14383231dc6aafa;hb=5191b3546cfb6c163228c23f214e325ddf60d46f;hp=00f02f4aea7817b54d536b9fe77b371c40ad6c9e;hpb=f5e93ef0613280d12d81460251dc3084d12beb28;p=gnulib.git diff --git a/lib/getline.c b/lib/getline.c index 00f02f4ae..0b3e1b4bc 100644 --- a/lib/getline.c +++ b/lib/getline.c @@ -1,5 +1,5 @@ /* getline.c --- Implementation of replacement getline function. - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005-2007, 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 @@ -12,18 +12,13 @@ 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., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program; if not, see . */ /* Written by Simon Josefsson. */ -#if HAVE_CONFIG_H -# include -#endif +#include -#include "getdelim.h" -#include "getline.h" +#include ssize_t getline (char **lineptr, size_t *n, FILE *stream)