aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-16 01:47:54 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-16 01:47:54 +0000
commit34f4a113193da3114ebd965c603bc260280350a1 (patch)
tree7a5cf1c01f2cc93b48fb741296d3dbc6ba8dd90b /include
parent28d297dea86d0b83996e44c8aea982ca99eaa5d0 (diff)
downloadgdb-34f4a113193da3114ebd965c603bc260280350a1.zip
gdb-34f4a113193da3114ebd965c603bc260280350a1.tar.gz
gdb-34f4a113193da3114ebd965c603bc260280350a1.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.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/floatformat.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index a39d786..331aef1 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,5 +1,10 @@
2003-09-15 Andrew Cagney <cagney@redhat.com>
+ * floatformat.h (floatformat_to_double): Make input buffer constant.
+ (floatformat_from_double, floatformat_is_valid): Ditto.
+
+2003-09-15 Andrew Cagney <cagney@redhat.com>
+
* floatformat.h (struct floatformat): Make "exp_bias" signed.
2003-09-15 Daniel Jacobowitz <drow@mvista.com>
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) */