X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fgetline.c;h=5d6aee8d32061c30dbb1fb69ada1f37c590394b5;hb=96f023c5e537dd4afbdb294de7065f65effe3eb2;hp=ab054fba6b38499f0cc3f2033d4116974141ec2c;hpb=222b0486b7db1b09293e05512873d633440efcb3;p=gnulib.git diff --git a/lib/getline.c b/lib/getline.c index ab054fba6..5d6aee8d3 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-2012 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. */ -#ifdef HAVE_CONFIG_H -# include -#endif +#include -#include "getdelim.h" -#include "getline.h" +#include ssize_t getline (char **lineptr, size_t *n, FILE *stream)