diff options
author | Linus Nordberg <linus@nordberg.se> | 2000-04-16 00:18:03 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2000-04-16 00:18:03 +0200 |
commit | 311c9833da18c3b5bcf408cee3b6a4eb3b422395 (patch) | |
tree | 7ee5f8564d384645995f0f94b4036a262164142b /tests | |
parent | 5b4ad2eebdf35b3256a8521600637ef2c374f106 (diff) | |
download | gmp-311c9833da18c3b5bcf408cee3b6a4eb3b422395.tar.gz |
(main): Add non-ANSI function declaration. Don't use `const'.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rand/t-rand.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/rand/t-rand.c b/tests/rand/t-rand.c index 79a6e9ef7..7a2830c59 100644 --- a/tests/rand/t-rand.c +++ b/tests/rand/t-rand.c @@ -132,9 +132,15 @@ static struct rt farr[] = int +#if __STDC__ main (int argc, char *argv[]) +#else +main (argc, argv) + int argc; + char *argv[]; +#endif { - const char usage[] = "usage: t-rand [function nbits]\n" \ + char usage[] = "usage: t-rand [function nbits]\n" \ " function is one of z, f\n" \ " nbits is number of bits\n" \ ""; |