diff options
author | hanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4> | 1999-06-25 17:36:57 +0000 |
---|---|---|
committer | hanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4> | 1999-06-25 17:36:57 +0000 |
commit | 28500f18c3c16fe509a2dd55dc1b2acf6555cb19 (patch) | |
tree | da68fbafce63f6e18bb7c1407363678ead5e41ae /sqrt.c | |
parent | c52e3b07b1fa741f5d18ffaf89b6776c6090edfd (diff) | |
download | mpfr-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 'sqrt.c')
-rw-r--r-- | sqrt.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -4,7 +4,15 @@ #include "gmp-impl.h" #include "mpfr.h" -void mpfr_sqrt(mpfr_ptr X, mpfr_srcptr a, unsigned char rnd_mode) +void +#if __STDC__ +mpfr_sqrt(mpfr_ptr X, mpfr_srcptr a, unsigned char rnd_mode) +#else +mpfr_sqrt(X, a, rnd_mode) + mpfr_ptr X; + mpfr_srcptr a; + unsigned char rnd_mode; +#endif { int p, q, err, i, e, n; mpfr_t t, u; mpfr_ptr x; |