1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Assume the available C compiler supports ANSI C. Remove K&R C cruft.

This commit is contained in:
Bruno Haible
2016-11-27 18:18:00 +01:00
parent a705809f3d
commit cabd2af10e
13 changed files with 51 additions and 237 deletions

View File

@@ -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];