diff options
Diffstat (limited to 'tests/test2.c')
-rw-r--r-- | tests/test2.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/test2.c b/tests/test2.c index e408d45..130a0a3 100644 --- a/tests/test2.c +++ b/tests/test2.c @@ -21,18 +21,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 +extern struct language * in_word_set (const char *, size_t); #define MAX_LEN 80 int -main (argc, argv) - int argc; - char *argv[]; +main (int argc, char *argv[]) { int verbose = argc > 1 ? 1 : 0; char buf[2*MAX_LEN]; |