summaryrefslogtreecommitdiff
path: root/cmp_ui.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 /cmp_ui.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 'cmp_ui.c')
-rw-r--r--cmp_ui.c22
1 files changed, 20 insertions, 2 deletions
diff --git a/cmp_ui.c b/cmp_ui.c
index 8cf2c02a4..d75bf54a9 100644
--- a/cmp_ui.c
+++ b/cmp_ui.c
@@ -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;