summaryrefslogtreecommitdiff
path: root/set_f.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 /set_f.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 'set_f.c')
-rw-r--r--set_f.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/set_f.c b/set_f.c
index 7dcbde01f..9bf6039ee 100644
--- a/set_f.c
+++ b/set_f.c
@@ -4,7 +4,16 @@
#include "longlong.h"
#include "mpfr.h"
-void mpfr_set_f(mpfr_ptr y, mpf_srcptr x, unsigned long prec, char rnd_mode)
+void
+#if __STDC__
+mpfr_set_f(mpfr_ptr y, mpf_srcptr x, unsigned long prec, char rnd_mode)
+#else
+mpfr_set_f(y, x, prec, rnd_mode)
+ mpfr_ptr y;
+ mpf_srcptr x;
+ unsigned long prec;
+ char rnd_mode;
+#endif
{
mp_limb_t *my, *mx; unsigned long cnt, sx, sy;