summaryrefslogtreecommitdiff
path: root/mul.c
diff options
context:
space:
mode:
authorhanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4>1999-06-25 17:36:57 +0000
committerhanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4>1999-06-25 17:36:57 +0000
commit28500f18c3c16fe509a2dd55dc1b2acf6555cb19 (patch)
treeda68fbafce63f6e18bb7c1407363678ead5e41ae /mul.c
parentc52e3b07b1fa741f5d18ffaf89b6776c6090edfd (diff)
downloadmpfr-28500f18c3c16fe509a2dd55dc1b2acf6555cb19.tar.gz
Prototypes et quelques causes de warnings corriges.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@205 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mul.c')
-rw-r--r--mul.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/mul.c b/mul.c
index 14175caad..a9ab76114 100644
--- a/mul.c
+++ b/mul.c
@@ -10,8 +10,16 @@
[current complexity is O(PREC(b)*PREC(c))]
*/
-void mpfr_mul(a, b, c, rnd_mode)
-mpfr_ptr a; mpfr_srcptr b, c; unsigned char rnd_mode;
+void
+#if __STDC__
+mpfr_mul(mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, unsigned char rnd_mode)
+#else
+mpfr_mul(a, b, c, rnd_mode)
+ mpfr_ptr a;
+ mpfr_srcptr b;
+ mpfr_srcptr c;
+ unsigned char rnd_mode;
+#endif
{
unsigned int bn, cn, an, k; int cc;
mp_limb_t *ap=MANT(a), *bp=MANT(b), *cp=MANT(c), *tmp, b1;