X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fprintf-frexp.c;h=da5c9c3a458084e9d09e5cde553cba77968d7c3e;hb=1a2869593e115e4a6c74aaa0b23ca612357403ce;hp=0c95a61af43a15720738e4f94393748eefbebd27;hpb=9f88c0b0e0cfa8a9c25f1db4f58b837c7b891575;p=gnulib.git
diff --git a/lib/printf-frexp.c b/lib/printf-frexp.c
index 0c95a61af..da5c9c3a4 100644
--- a/lib/printf-frexp.c
+++ b/lib/printf-frexp.c
@@ -1,19 +1,18 @@
/* Split a double into fraction and mantissa, for hexadecimal printf.
Copyright (C) 2007 Free Software Foundation, Inc.
- This program is free software; you can redistribute it and/or modify
+ This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see . */
#include
@@ -63,7 +62,7 @@
#endif
DOUBLE
-FUNC (DOUBLE x, int *exp)
+FUNC (DOUBLE x, int *expptr)
{
int exponent;
DECL_ROUNDING
@@ -184,6 +183,6 @@ FUNC (DOUBLE x, int *exp)
END_ROUNDING ();
- *exp = exponent;
+ *expptr = exponent;
return x;
}