diff options
author | Jim Meyering <jim@meyering.net> | 1996-02-24 18:30:46 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-02-24 18:30:46 +0000 |
commit | 746c5e5528fe03fa1ae9b1e28dca648ae065dd26 (patch) | |
tree | ce5a9a7158469b3874b48b0115f8013c2ea550c4 /lib | |
parent | 6ff9e537fe1f17b0646dfe141afa1723bd5d80cf (diff) | |
download | coreutils-746c5e5528fe03fa1ae9b1e28dca648ae065dd26.tar.xz |
Unprotoize.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/readtokens.c | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/lib/readtokens.c b/lib/readtokens.c index 0bd669224..f4c6c2071 100644 --- a/lib/readtokens.c +++ b/lib/readtokens.c @@ -58,7 +58,8 @@ void *xrealloc (); /* 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 @@ init_tokenbuffer (token_buffer *tokenbuffer) 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 @@ readtoken (FILE *stream, const char *delim, int n_delim, %%% 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; |