summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-07 10:27:54 +0000
committerJim Meyering <jim@meyering.net>2003-06-07 10:27:54 +0000
commit0ba7b84893634f0d1766a02fe1914a87d6e5e3ae (patch)
tree4ef6b1db823d9a598f015453c9d8efa7f140ac39
parent70e17d65ddc763e18003df409354e68fb9856291 (diff)
downloadcoreutils-0ba7b84893634f0d1766a02fe1914a87d6e5e3ae.tar.xz
Remove definition and uses of __P.
-rw-r--r--lib/readtokens.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/lib/readtokens.h b/lib/readtokens.h
index acbdf6523..4d6e5b509 100644
--- a/lib/readtokens.h
+++ b/lib/readtokens.h
@@ -38,21 +38,14 @@ typedef struct tokenbuffer token_buffer;
# endif /* not TOKENBUFFER_DEFINED */
-# undef __P
-# if defined (__STDC__) && __STDC__
-# define __P(x) x
-# else
-# define __P(x) ()
-# endif
-
-void init_tokenbuffer __P ((token_buffer *tokenbuffer));
+void init_tokenbuffer (token_buffer *tokenbuffer);
long
- readtoken __P ((FILE *stream, const char *delim, int n_delim,
- token_buffer *tokenbuffer));
+ readtoken (FILE *stream, const char *delim, int n_delim,
+ token_buffer *tokenbuffer);
int
- readtokens __P ((FILE *stream, int projected_n_tokens,
+ readtokens (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 */