summaryrefslogtreecommitdiff
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
commit66e882ec3b9cdd4534b15d66af808cc427ddab0f (patch)
tree9375d52babfa1f67c696b6d0771608b818554107 /gdb/doublest.h
parentae3881bb43d8fb29340bf96f87e3eaee48b14d53 (diff)
downloadgdb-66e882ec3b9cdd4534b15d66af808cc427ddab0f.tar.gz
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 8510baa310a..32a0ba4bcf9 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.