diff options
-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 |