summaryrefslogtreecommitdiff
path: root/lib/linebuffer.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2003-06-18 05:52:19 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2003-06-18 05:52:19 +0000
commit68af56be3e061b97cf97150094bc50b0aa364cbb (patch)
treebdb72b16dd6b1992a31fe7bab628b23efb870a5f /lib/linebuffer.h
parentc947ae968b9fdb7a65f1481b7c7ec68e6a0d3abc (diff)
downloadgnulib-68af56be3e061b97cf97150094bc50b0aa364cbb.tar.gz
Assume C89, so PARAMS isn't needed.
Diffstat (limited to 'lib/linebuffer.h')
-rw-r--r--lib/linebuffer.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/lib/linebuffer.h b/lib/linebuffer.h
index b91bf7813f..67d359984b 100644
--- a/lib/linebuffer.h
+++ b/lib/linebuffer.h
@@ -31,25 +31,16 @@ struct linebuffer
char *buffer;
};
-# ifndef PARAMS
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-# define PARAMS(Args) Args
-# else
-# define PARAMS(Args) ()
-# endif
-# endif
-
/* Initialize linebuffer LINEBUFFER for use. */
-void initbuffer PARAMS ((struct linebuffer *linebuffer));
+void initbuffer (struct linebuffer *linebuffer);
/* Read an arbitrarily long line of text from STREAM into LINEBUFFER.
Keep the newline; append a newline if it's the last line of a file
that ends in a non-newline character. Do not null terminate.
Return LINEBUFFER, except at end of file return 0. */
-struct linebuffer *readlinebuffer PARAMS ((struct linebuffer *linebuffer,
- FILE *stream));
+struct linebuffer *readlinebuffer (struct linebuffer *linebuffer, FILE *stream);
/* Free linebuffer LINEBUFFER and its data, all allocated with malloc. */
-void freebuffer PARAMS ((struct linebuffer *));
+void freebuffer (struct linebuffer *);
#endif /* LINEBUFFER_H */