X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/b817bfc642225b8c3c0b6a7e42d1fb949b61a606..025c5f4aa5ffbf8948482a4233318db81c2df5d2:/mpreduce.h diff --git a/mpreduce.h b/mpreduce.h index c885ccb..48c9e1d 100644 --- a/mpreduce.h +++ b/mpreduce.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mpreduce.h,v 1.2 2004/04/08 01:36:15 mdw Exp $ + * $Id$ * * Efficient reduction modulo nice primes * @@ -66,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@ --- * *