From: Jim Meyering Date: Thu, 1 Feb 1996 06:13:54 +0000 (+0000) Subject: __P-protect dcls. X-Git-Tag: TEXTUTILS-1_14~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a5c268a9f954de1772ccfb3f8ab4523e6726e134;p=thirdparty%2Fcoreutils.git __P-protect dcls. --- diff --git a/lib/readtokens.h b/lib/readtokens.h index 101faa42ef..b35cf6e33a 100644 --- a/lib/readtokens.h +++ b/lib/readtokens.h @@ -16,14 +16,21 @@ typedef struct tokenbuffer token_buffer; #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 */