From 62f34e465125f07961ae8cc8bff167f9cdb6f80a Mon Sep 17 00:00:00 2001 From: mdw Date: Sun, 4 Mar 2001 13:08:10 +0000 Subject: [PATCH] Use @DA_LAST@ to determine @MAXPRIME@, now that it exists. --- genprimes.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/genprimes.c b/genprimes.c index 37e788c..2961621 100644 --- a/genprimes.c +++ b/genprimes.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: genprimes.c,v 1.3 2000/08/15 21:41:58 mdw Exp $ + * $Id: genprimes.c,v 1.4 2001/03/04 13:08:10 mdw Exp $ * * Generate prime number table * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: genprimes.c,v $ + * Revision 1.4 2001/03/04 13:08:10 mdw + * Use @DA_LAST@ to determine @MAXPRIME@, now that it exists. + * * Revision 1.3 2000/08/15 21:41:58 mdw * Create a new type for the small primes table elements. * @@ -156,7 +159,7 @@ extern smallprime %s[];\n\ ", d.buf, d.buf, (unsigned long)DA_LEN(&p), - DA(&p)[DA_LEN(&p) - 1], + DA_LAST(&p), type, name); dstr_destroy(&d); if (fclose(fp) == EOF) { -- 2.11.0