diff --git a/ChangeLog b/ChangeLog index 9e4cee9..649e1a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-03-31 Bruno Haible + + * tests/test.c (in_word_set): New declaration. + * tests/test2.c (in_word_set): Likewise. + 2007-03-31 Bruno Haible * src/options.cc (Options::parse_options): Bump copyright year. 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 #include +#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