projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xgetcwd: Move AC_LIBOBJ invocations to module description.
[gnulib.git]
/
lib
/
getline.c
diff --git
a/lib/getline.c
b/lib/getline.c
index
ab054fb
..
0528db1
100644
(file)
--- a/
lib/getline.c
+++ b/
lib/getline.c
@@
-1,5
+1,5
@@
/* getline.c --- Implementation of replacement getline function.
/* getline.c --- Implementation of replacement getline function.
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 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
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@
-18,12
+18,9
@@
/* Written by Simon Josefsson. */
/* Written by Simon Josefsson. */
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
-#include "getdelim.h"
-#include "getline.h"
+#include <stdio.h>
ssize_t
getline (char **lineptr, size_t *n, FILE *stream)
ssize_t
getline (char **lineptr, size_t *n, FILE *stream)