From 66e882ec3b9cdd4534b15d66af808cc427ddab0f Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 28 Jan 2005 06:06:27 +0000 Subject: 2005-01-28 Andrew Cagney * doublest.c (floatformat_is_negative, floatformat_is_nan) (floatformat_mantissa, get_field): Make the buffer a const bfd_byte, simplify. --- gdb/doublest.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'gdb/doublest.h') 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. -- cgit v1.2.1