summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-06-11 02:33:38 +0200
committerKevin Ryde <user42@zip.com.au>2000-06-11 02:33:38 +0200
commit46db6d947a1b944878b8726479627a93bdf33167 (patch)
treef1c3da50ce95b7b3f92b8c9d9f91638aa01a0eb2 /tests
parent783a4454b84ff9735eaae50aa69238881560dfea (diff)
downloadgmp-46db6d947a1b944878b8726479627a93bdf33167.tar.gz
* t-rand.c (main): Change "usage" to work with K&R.
Diffstat (limited to 'tests')
-rw-r--r--tests/rand/t-rand.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/rand/t-rand.c b/tests/rand/t-rand.c
index 7a2830c59..0027eb78f 100644
--- a/tests/rand/t-rand.c
+++ b/tests/rand/t-rand.c
@@ -140,10 +140,11 @@ main (argc, argv)
char *argv[];
#endif
{
- char usage[] = "usage: t-rand [function nbits]\n" \
- " function is one of z, f\n" \
- " nbits is number of bits\n" \
- "";
+ static char usage[] = "\
+usage: t-rand [function nbits]\n\
+ function is one of z, f\n\
+ nbits is number of bits\n\
+";
gmp_randstate_t rstate;
mpz_t z, rz;
mpf_t f, rf;