projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
__P-protect dcls.
[gnulib.git]
/
lib
/
readtokens.h
diff --git
a/lib/readtokens.h
b/lib/readtokens.h
index
101faa4
..
b35cf6e
100644
(file)
--- a/
lib/readtokens.h
+++ b/
lib/readtokens.h
@@
-16,14
+16,21
@@
typedef struct tokenbuffer token_buffer;
#endif /* not TOKENBUFFER_DEFINED */
#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
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
int
- readtokens (FILE *stream, int projected_n_tokens,
+ readtokens
__P (
(FILE *stream, int projected_n_tokens,
const char *delim, int n_delim,
const char *delim, int n_delim,
- char ***tokens_out, long **token_lengths);
+ char ***tokens_out, long **token_lengths)
)
;
#endif /* not H_READTOKENS_H */
#endif /* not H_READTOKENS_H */