diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2003-06-18 05:52:19 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2003-06-18 05:52:19 +0000 |
commit | 68af56be3e061b97cf97150094bc50b0aa364cbb (patch) | |
tree | bdb72b16dd6b1992a31fe7bab628b23efb870a5f /lib/linebuffer.h | |
parent | c947ae968b9fdb7a65f1481b7c7ec68e6a0d3abc (diff) | |
download | gnulib-68af56be3e061b97cf97150094bc50b0aa364cbb.tar.gz |
Assume C89, so PARAMS isn't needed.
Diffstat (limited to 'lib/linebuffer.h')
-rw-r--r-- | lib/linebuffer.h | 15 |
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 */ |