summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-08-03 03:03:11 +0000
committerJim Meyering <jim@meyering.net>1998-08-03 03:03:11 +0000
commitf1db42afed83c11804f0e22937dbfa4898b71710 (patch)
tree0d1be7f25f8eb8fad304c8e2aab72be8c52e4e9d
parent2d329c22c053dfb0e6dd6836c53cd2fc9fa27c74 (diff)
downloadcoreutils-f1db42afed83c11804f0e22937dbfa4898b71710.tar.xz
Ansideclify.
-rw-r--r--lib/linebuffer.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/linebuffer.c b/lib/linebuffer.c
index bd56c5339..c1a696acc 100644
--- a/lib/linebuffer.c
+++ b/lib/linebuffer.c
@@ -31,8 +31,7 @@ void free ();
/* Initialize linebuffer LINEBUFFER for use. */
void
-initbuffer (linebuffer)
- struct linebuffer *linebuffer;
+initbuffer (struct linebuffer *linebuffer)
{
linebuffer->length = 0;
linebuffer->size = 200;
@@ -45,9 +44,7 @@ initbuffer (linebuffer)
Otherwise, return LINEBUFFER. */
struct linebuffer *
-readline (linebuffer, stream)
- struct linebuffer *linebuffer;
- FILE *stream;
+readline (struct linebuffer *linebuffer, FILE *stream)
{
int c;
char *buffer = linebuffer->buffer;
@@ -88,8 +85,7 @@ readline (linebuffer, stream)
/* Free linebuffer LINEBUFFER and its data, all allocated with malloc. */
void
-freebuffer (linebuffer)
- struct linebuffer *linebuffer;
+freebuffer (struct linebuffer *linebuffer)
{
free (linebuffer->buffer);
free (linebuffer);