summaryrefslogtreecommitdiff
path: root/extract.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-11-16 13:22:13 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-11-16 13:22:13 +0000
commit569a16f84e4ec55a207c83bceba2eb68fc5acd6b (patch)
tree56e2e55f898e53d5fc32ba2ebea667eeb48898ef /extract.c
parent629ac173de88c32f2274b1bb509aa77815fcf209 (diff)
downloadmpfr-569a16f84e4ec55a207c83bceba2eb68fc5acd6b.tar.gz
removed K&R function headers
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1548 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'extract.c')
-rw-r--r--extract.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/extract.c b/extract.c
index e4a1975c3..ee9fc3002 100644
--- a/extract.c
+++ b/extract.c
@@ -1,6 +1,6 @@
/* mpfr_extract -- bit-extraction function for the binary splitting algorithm
-Copyright (C) 2000 Free Software Foundation.
+Copyright (C) 2000, 2001 Free Software Foundation, Inc.
This file is part of the MPFR Library.
@@ -34,14 +34,7 @@ MA 02111-1307, USA. */
- for i>0, y = (p * B^(2^i)) mod B^(2^(i-1))
*/
void
-#if __STDC__
mpfr_extract (mpz_ptr y, mpfr_srcptr p, unsigned int i)
-#else
-mpfr_extract (y, p, i)
- mpz_ptr y;
- mpfr_srcptr p;
- unsigned int i;
-#endif
{
int two_i = 1 << i;
int two_i_2 = i ? two_i / 2 : 1;