summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-11-16 11:18:00 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-11-16 11:18:00 +0000
commit04307d9b1514959cd59b0b5278a19b4ddaecc375 (patch)
tree315b84e839a3950f1d900b9956252d87bc0db738 /random.c
parent937708f95eedc3a3747fe7ea581b783a797f95ed (diff)
downloadmpfr-04307d9b1514959cd59b0b5278a19b4ddaecc375.tar.gz
added year 2001 in copyright line
removed #if __STDC__ git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1526 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'random.c')
-rw-r--r--random.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/random.c b/random.c
index 311a204b8..e65b793a5 100644
--- a/random.c
+++ b/random.c
@@ -1,6 +1,6 @@
/* mpfr_random -- generate a random floating-point number
-Copyright (C) 1999 Free Software Foundation.
+Copyright (C) 1999, 2001 Free Software Foundation, Inc.
This file is part of the MPFR Library.
@@ -29,12 +29,7 @@ MA 02111-1307, USA. */
/* Computes a random mpfr in [0, 1[ with precision MPFR_PREC */
void
-#if __STDC__
mpfr_random (mpfr_ptr x)
-#else
-mpfr_random (x)
- mpfr_ptr x;
-#endif
{
mp_limb_t *xp; unsigned long xn, cnt, prec = MPFR_PREC(x);