aboutsummaryrefslogtreecommitdiff
path: root/gdb/doublest.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-28 06:06:27 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-28 06:06:27 +0000
commit108d6ead324614db8f129e4f7b336cbf4dc464e5 (patch)
tree74a6cf2c91484c74244be5a97f74cd1836b2db9a /gdb/doublest.h
parentf6bcefefe817b20b493081511cdeb8f87052bd41 (diff)
downloadgdb-108d6ead324614db8f129e4f7b336cbf4dc464e5.zip
gdb-108d6ead324614db8f129e4f7b336cbf4dc464e5.tar.gz
gdb-108d6ead324614db8f129e4f7b336cbf4dc464e5.tar.bz2
2005-01-28 Andrew Cagney <cagney@gnu.org>
* doublest.c (floatformat_is_negative, floatformat_is_nan) (floatformat_mantissa, get_field): Make the buffer a const bfd_byte, simplify.
Diffstat (limited to 'gdb/doublest.h')
-rw-r--r--gdb/doublest.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/doublest.h b/gdb/doublest.h
index 8510baa..32a0ba4 100644
--- a/gdb/doublest.h
+++ b/gdb/doublest.h
@@ -1,8 +1,8 @@
/* Floating point definitions for GDB.
Copyright 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
- 1996, 1997, 1998, 1999, 2000, 2001, 2003 Free Software Foundation,
- Inc.
+ 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2005 Free Software
+ Foundation, Inc.
This file is part of GDB.
@@ -59,9 +59,11 @@ extern void floatformat_to_doublest (const struct floatformat *,
extern void floatformat_from_doublest (const struct floatformat *,
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 int floatformat_is_negative (const struct floatformat *,
+ const bfd_byte *);
+extern int floatformat_is_nan (const struct floatformat *, const bfd_byte *);
+extern const char *floatformat_mantissa (const struct floatformat *,
+ const bfd_byte *);
/* These functions have been replaced by extract_typed_floating and
store_typed_floating.