Mercurial > gnulib
changeset 20246:c725879bb81a
Unprotoize.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 24 Feb 1996 18:30:46 +0000 |
parents | db2d7c25f669 |
children | 103e37b68041 |
files | lib/readtokens.c |
diffstat | 1 files changed, 15 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/readtokens.c Fri Feb 23 16:14:27 1996 +0000 +++ b/lib/readtokens.c Sat Feb 24 18:30:46 1996 +0000 @@ -58,7 +58,8 @@ /* Initialize a tokenbuffer. */ void -init_tokenbuffer (token_buffer *tokenbuffer) +init_tokenbuffer (tokenbuffer) + token_buffer *tokenbuffer; { tokenbuffer->size = INITIAL_TOKEN_LENGTH; tokenbuffer->buffer = ((char *) xmalloc (INITIAL_TOKEN_LENGTH)); @@ -76,8 +77,11 @@ and on files that aren't newline-terminated. */ long -readtoken (FILE *stream, const char *delim, int n_delim, - token_buffer *tokenbuffer) +readtoken (stream, delim, n_delim, tokenbuffer) + FILE *stream; + const char *delim; + int n_delim; + token_buffer *tokenbuffer; { char *p; int c, i, n; @@ -160,9 +164,14 @@ %%% realloc() of `tokens' just before returning? */ int -readtokens (FILE *stream, int projected_n_tokens, - const char *delim, int n_delim, - char ***tokens_out, long **token_lengths) +readtokens (stream, projected_n_tokens, delim, n_delim, + tokens_out, token_lengths) + FILE *stream; + int projected_n_tokens; + const char *delim; + int n_delim; + char ***tokens_out; + long **token_lengths; { token_buffer tb, *token = &tb; int token_length;