X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/f46efa79cd2bb9adc81541f1218965f85a6b2eef..02dfbd5b7af7816959dbd39c1fe628451204e35f:/mpreduce.h diff --git a/mpreduce.h b/mpreduce.h index 72f27fa..48c9e1d 100644 --- a/mpreduce.h +++ b/mpreduce.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mpreduce.h,v 1.1 2004/03/27 00:04:46 mdw Exp $ + * $Id$ * * Efficient reduction modulo nice primes * @@ -27,14 +27,6 @@ * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: mpreduce.h,v $ - * Revision 1.1 2004/03/27 00:04:46 mdw - * Implement efficient reduction for pleasant-looking primes. - * - */ - #ifndef CATACOMB_MPREDUCE_H #define CATACOMB_MPREDUCE_H @@ -74,12 +66,12 @@ typedef struct mpreduce { * Arguments: @gfreduce *r@ = structure to fill in * @mp *x@ = an integer * - * Returns: --- + * Returns: Zero for success, nonzero on error. * * Use: Initializes a context structure for reduction. */ -extern void mpreduce_create(mpreduce */*r*/, mp */*p*/); +extern int mpreduce_create(mpreduce */*r*/, mp */*p*/); /* --- @mpreduce_destroy@ --- * *