diff options
author | Bruno Haible <bruno@clisp.org> | 2007-03-31 15:23:42 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2007-03-31 15:23:42 +0000 |
commit | 420a9082115cf4ba510eda53ca2770c7666549f1 (patch) | |
tree | b2805009a0b8ffe62143db92f3e8202cbc695f86 | |
parent | acb612f5879898d78df95c3802bb0c4d78b4b131 (diff) | |
download | gperf-420a9082115cf4ba510eda53ca2770c7666549f1.tar.gz |
Provide declaration of in_word_set.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tests/test.c | 6 | ||||
-rw-r--r-- | tests/test2.c | 6 |
3 files changed, 17 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2007-03-31 Bruno Haible <bruno@clisp.org> + * tests/test.c (in_word_set): New declaration. + * tests/test2.c (in_word_set): Likewise. + +2007-03-31 Bruno Haible <bruno@clisp.org> + * src/options.cc (Options::parse_options): Bump copyright year. 2007-03-31 Bruno Haible <bruno@clisp.org> diff --git a/tests/test.c b/tests/test.c index fcb120c..6ee16e0 100644 --- a/tests/test.c +++ b/tests/test.c @@ -7,6 +7,12 @@ #include <stdio.h> #include <string.h> +#if defined __STDC__ || defined __cplusplus +extern char * in_word_set (const char *, int); +#else +extern char * in_word_set (); +#endif + #define MAX_LEN 80 int diff --git a/tests/test2.c b/tests/test2.c index 1cc8633..2a2c36d 100644 --- a/tests/test2.c +++ b/tests/test2.c @@ -20,6 +20,12 @@ # define SET_BINARY(f) (void)0 #endif +#if defined __STDC__ || defined __cplusplus +extern struct language * in_word_set (const char *, int); +#else +extern struct language * in_word_set (); +#endif + #define MAX_LEN 80 int |