aboutsummaryrefslogtreecommitdiff
path: root/include/floatformat.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-16 01:51:07 +0000
committerAndrew Cagney <cagney@gcc.gnu.org>2003-09-16 01:51:07 +0000
commitc9fbef12bee8504ff48a45e3c67099af6772857d (patch)
tree5c6e1c9bbf676db99a510a4191f0ac8fbdd92f76 /include/floatformat.h
parent602a82f3cfb0d903381a63497fbfa98cf74adeaa (diff)
downloadgcc-c9fbef12bee8504ff48a45e3c67099af6772857d.zip
gcc-c9fbef12bee8504ff48a45e3c67099af6772857d.tar.gz
gcc-c9fbef12bee8504ff48a45e3c67099af6772857d.tar.bz2
Index: include/ChangeLog
2003-09-15 Andrew Cagney <cagney@redhat.com> * floatformat.h (floatformat_to_double): Make input buffer constant. (floatformat_from_double, floatformat_is_valid): Ditto. Index: libiberty/ChangeLog 2003-09-15 Andrew Cagney <cagney@redhat.com> * floatformat.c (get_field): Make "data" constant. (floatformat_is_valid, floatformat_to_double): Make "from" constant, fix casts. (floatformat_from_double): Make "from" constant. From-SVN: r71422
Diffstat (limited to 'include/floatformat.h')
-rw-r--r--include/floatformat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/floatformat.h b/include/floatformat.h
index 1d08fd6..3d0fd7a 100644
--- a/include/floatformat.h
+++ b/include/floatformat.h
@@ -113,18 +113,18 @@ extern const struct floatformat floatformat_ia64_quad_little;
Store the double in *TO. */
extern void
-floatformat_to_double PARAMS ((const struct floatformat *, char *, double *));
+floatformat_to_double PARAMS ((const struct floatformat *, const char *, double *));
/* The converse: convert the double *FROM to FMT
and store where TO points. */
extern void
floatformat_from_double PARAMS ((const struct floatformat *,
- double *, char *));
+ const double *, char *));
/* Return non-zero iff the data at FROM is a valid number in format FMT. */
extern int
-floatformat_is_valid PARAMS ((const struct floatformat *fmt, char *from));
+floatformat_is_valid PARAMS ((const struct floatformat *fmt, const char *from));
#endif /* defined (FLOATFORMAT_H) */