Mercurial > hg > octave-kai > gnulib-hg
changeset 547:74d07072760e
__P-protect dcls.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Thu, 01 Feb 1996 06:13:54 +0000 |
parents | baaeb11e50e5 |
children | 1d083ce8d69d |
files | lib/readtokens.h |
diffstat | 1 files changed, 12 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/readtokens.h +++ b/lib/readtokens.h @@ -16,14 +16,21 @@ #endif /* not TOKENBUFFER_DEFINED */ -void init_tokenbuffer (token_buffer *tokenbuffer); +#undef __P +#if defined (__STDC__) && __STDC__ +#define __P(x) x +#else +#define __P(x) () +#endif + +void init_tokenbuffer __P ((token_buffer *tokenbuffer)); long - readtoken (FILE *stream, const char *delim, int n_delim, - token_buffer *tokenbuffer); + readtoken __P ((FILE *stream, const char *delim, int n_delim, + token_buffer *tokenbuffer)); int - readtokens (FILE *stream, int projected_n_tokens, + readtokens __P ((FILE *stream, int projected_n_tokens, const char *delim, int n_delim, - char ***tokens_out, long **token_lengths); + char ***tokens_out, long **token_lengths)); #endif /* not H_READTOKENS_H */