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 /cmp_ui.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 'cmp_ui.c')
-rw-r--r-- | cmp_ui.c | 22 |
1 files changed, 20 insertions, 2 deletions
@@ -10,7 +10,16 @@ a negative value if b<i*2^f, zero if b=i*2^f */ -int mpfr_cmp_ui_2exp ( mpfr_srcptr b, unsigned long int i, int f ) + +int +#if __STDC__ +mpfr_cmp_ui_2exp ( mpfr_srcptr b, unsigned long int i, int f ) +#else +mpfr_cmp_ui_2exp (b, i, f) + mpfr_srcptr b; + unsigned long int i; + int f; +#endif { int e, k, bn; mp_limb_t c, *bp; @@ -43,7 +52,16 @@ int mpfr_cmp_ui_2exp ( mpfr_srcptr b, unsigned long int i, int f ) a negative value if b<i*2^f, zero if b=i*2^f */ -int mpfr_cmp_si_2exp ( mpfr_srcptr b, long int i, int f ) + +int +#if __STDC__ +mpfr_cmp_si_2exp ( mpfr_srcptr b, long int i, int f ) +#else +mpfr_cmp_si_2exp(b, i, f) + mpfr_srcptr b; + long int i; + int f; +#endif { int e, k, bn, si; mp_limb_t c, *bp; |