diff options
author | DJ Delorie <dj@redhat.com> | 2005-08-17 18:03:25 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-08-17 18:03:25 +0000 |
commit | 9c14f30d8b4a9e2b1b9189ed8d5d3b566f340d40 (patch) | |
tree | 87461e92fb0c6c78533de5a9894a62eab1e8cb1e /include/floatformat.h | |
parent | 0d339267ec52b1be15ea21508c79c64c2c524625 (diff) | |
download | cygnal-9c14f30d8b4a9e2b1b9189ed8d5d3b566f340d40.tar.gz cygnal-9c14f30d8b4a9e2b1b9189ed8d5d3b566f340d40.tar.bz2 cygnal-9c14f30d8b4a9e2b1b9189ed8d5d3b566f340d40.zip |
merge from gcc
Diffstat (limited to 'include/floatformat.h')
-rw-r--r-- | include/floatformat.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/floatformat.h b/include/floatformat.h index 0cbd143be..a24487430 100644 --- a/include/floatformat.h +++ b/include/floatformat.h @@ -1,5 +1,6 @@ /* IEEE floating point support declarations, for GDB, the GNU Debugger. - Copyright 1991, 1994, 1995, 1997, 2000, 2003 Free Software Foundation, Inc. + Copyright 1991, 1994, 1995, 1997, 2000, 2003, 2005 + Free Software Foundation, Inc. This file is part of GDB. @@ -82,7 +83,7 @@ struct floatformat const char *name; /* Validator method. */ - int (*is_valid) (const struct floatformat *fmt, const char *from); + int (*is_valid) (const struct floatformat *fmt, const void *from); }; /* floatformats for IEEE single and double, big and little endian. */ @@ -116,17 +117,17 @@ extern const struct floatformat floatformat_ia64_quad_little; Store the double in *TO. */ extern void -floatformat_to_double (const struct floatformat *, const char *, double *); +floatformat_to_double (const struct floatformat *, const void *, double *); /* The converse: convert the double *FROM to FMT and store where TO points. */ extern void -floatformat_from_double (const struct floatformat *, const double *, char *); +floatformat_from_double (const struct floatformat *, const double *, void *); /* Return non-zero iff the data at FROM is a valid number in format FMT. */ extern int -floatformat_is_valid (const struct floatformat *fmt, const char *from); +floatformat_is_valid (const struct floatformat *fmt, const void *from); #endif /* defined (FLOATFORMAT_H) */ |