summaryrefslogtreecommitdiff
path: root/lib/getline.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-18 07:49:35 +0000
committerJim Meyering <jim@meyering.net>2003-06-18 07:49:35 +0000
commit6cf1fd0c87e385fc64132c6bf47f414cf3cc25b5 (patch)
treeb2a68b8618b79204e0d9df4cc15eb297d0097314 /lib/getline.h
parent38a0ec7565f85c0b9c46ef3e1c554cdbed77af72 (diff)
downloadcoreutils-6cf1fd0c87e385fc64132c6bf47f414cf3cc25b5.tar.xz
(PARAMS): Remove. All uses removed.
Diffstat (limited to 'lib/getline.h')
-rw-r--r--lib/getline.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/lib/getline.h b/lib/getline.h
index 636e3dda6..ed8fe2717 100644
--- a/lib/getline.h
+++ b/lib/getline.h
@@ -20,22 +20,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
# include <stddef.h>
# include <stdio.h>
-# ifndef PARAMS
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-# define PARAMS(Args) Args
-# else
-# define PARAMS(Args) ()
-# endif
-# endif
-
/* glibc2 has these functions declared in <stdio.h>. Avoid redeclarations. */
# if __GLIBC__ < 2
-int
-getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream));
+int getline (char **_lineptr, size_t *_n, FILE *_stream);
-int
-getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream));
+int getdelim (char **_lineptr, size_t *_n, int _delimiter, FILE *_stream);
# endif