summaryrefslogtreecommitdiff
path: root/inp_str.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 /inp_str.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 'inp_str.c')
-rw-r--r--inp_str.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/inp_str.c b/inp_str.c
index 422e5f797..5fc9430d2 100644
--- a/inp_str.c
+++ b/inp_str.c
@@ -1,7 +1,8 @@
/* mpf_inp_str(dest_float, stream, base) -- Input a number in base
BASE from stdio stream STREAM and store the result in DEST_FLOAT.
-Copied from GMP, file mpf/inp_str.c.
+Copyright (C) 1999, 2001 Free Software Foundation, Inc.
+(Copied from GMP, file mpf/inp_str.c)
This file is part of the MPFR Library.
@@ -28,15 +29,7 @@ MA 02111-1307, USA. */
#include "mpfr-impl.h"
size_t
-#if __STDC__
mpfr_inp_str (mpfr_ptr rop, FILE *stream, int base, mp_rnd_t rnd_mode)
-#else
-mpfr_inp_str (rop, stream, base, rnd_mode)
- mpfr_ptr rop;
- FILE *stream;
- int base;
- mp_rnd_t rnd_mode;
-#endif
{
char *str;
size_t alloc_size, str_size;