summaryrefslogtreecommitdiff
path: root/set_si.c
diff options
context:
space:
mode:
Diffstat (limited to 'set_si.c')
-rw-r--r--set_si.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/set_si.c b/set_si.c
index 84a8343bb..8a1e85ab0 100644
--- a/set_si.c
+++ b/set_si.c
@@ -5,7 +5,14 @@
#include "mpfr.h"
void
+#if __STDC__
mpfr_set_si(mpfr_ptr x, long i, unsigned char rnd_mode)
+#else
+mpfr_set_si(x, i, rnd_mode)
+ mpfr_ptr x;
+ long i;
+ unsigned char rnd_mode;
+#endif
{
unsigned long xn, ai, cnt;