From 420a9082115cf4ba510eda53ca2770c7666549f1 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 31 Mar 2007 15:23:42 +0000 Subject: [PATCH] Provide declaration of in_word_set. --- ChangeLog | 5 +++++ tests/test.c | 6 ++++++ tests/test2.c | 6 ++++++ 3 files changed, 17 insertions(+) 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