summaryrefslogtreecommitdiff
path: root/stdio-common/getline.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/getline.c')
-rw-r--r--stdio-common/getline.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/stdio-common/getline.c b/stdio-common/getline.c
index f103979333..7e78547c90 100644
--- a/stdio-common/getline.c
+++ b/stdio-common/getline.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995, 1996 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -16,21 +16,20 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
-#include <ansidecl.h>
#include <stddef.h>
#include <stdio.h>
#undef __getline
#ifdef USE_IN_LIBIO
+# include "../libio/libioP.h"
# define ssize_t _IO_ssize_t
# define __getdelim _IO_getdelim
#endif
/* Like getdelim, but always looks for a newline. */
ssize_t
-DEFUN(__getline, (lineptr, n, stream),
- char **lineptr AND size_t *n AND FILE *stream)
+__getline (char **lineptr, size_t *n, FILE *stream)
{
return __getdelim (lineptr, n, '\n', stream);
}