diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-08-01 22:11:43 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-08-01 22:11:43 +0000 |
commit | 9ce26ce96ebb7e6f85a22c20634acd51f93e17ac (patch) | |
tree | c3673288d055f73fb927433e60111188c0751d5a /gdb/doublest.h | |
parent | dbe281d2927ce1c12d49ec753d343f466b5291ed (diff) | |
download | gdb-9ce26ce96ebb7e6f85a22c20634acd51f93e17ac.tar.gz |
* doublest.h (store_floating, floatformat_to_doublest): Make IN
paramter a const void pointer.
(floatformat_from_doublest): Make IN const, Make OUT a void
pointer.
* doublest.c (floatformat_to_doublest): Update.
(floatformat_from_doublest): Update.
(extract_floating): Update.
Diffstat (limited to 'gdb/doublest.h')
-rw-r--r-- | gdb/doublest.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/doublest.h b/gdb/doublest.h index 8e3919685c5..692280db5f2 100644 --- a/gdb/doublest.h +++ b/gdb/doublest.h @@ -73,15 +73,15 @@ typedef double DOUBLEST; #endif extern void floatformat_to_doublest (const struct floatformat *, - char *, DOUBLEST *); + const void *in, DOUBLEST *out); extern void floatformat_from_doublest (const struct floatformat *, - DOUBLEST *, char *); + const DOUBLEST *in, void *out); extern int floatformat_is_negative (const struct floatformat *, char *); extern int floatformat_is_nan (const struct floatformat *, char *); extern char *floatformat_mantissa (const struct floatformat *, char *); -extern DOUBLEST extract_floating (void *, int); +extern DOUBLEST extract_floating (const void *in, int); extern void store_floating (void *, int, DOUBLEST); #endif |