* floatformat.h (floatformat_is_valid): Add prototype.
authorDaniel Jacobowitz <drow@false.org>
Mon, 15 Sep 2003 20:13:45 +0000 (20:13 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 15 Sep 2003 20:13:45 +0000 (20:13 +0000)
include/ChangeLog
include/floatformat.h

index 3852e7d..b23b527 100644 (file)
@@ -1,3 +1,7 @@
+2003-09-15  Daniel Jacobowitz  <drow@mvista.com>
+
+       * floatformat.h (floatformat_is_valid): Add prototype.
+
 2003-08-27  Andrew Cagney  <cagney@redhat.com>
 
        * dis-asm.h (init_disassemble_info): Declare.
index 53ead3e..feb3260 100644 (file)
@@ -1,5 +1,5 @@
 /* IEEE floating point support declarations, for GDB, the GNU Debugger.
-   Copyright 1991, 1994, 1995, 1997, 2000 Free Software Foundation, Inc.
+   Copyright 1991, 1994, 1995, 1997, 2000, 2003 Free Software Foundation, Inc.
 
 This file is part of GDB.
 
@@ -118,4 +118,9 @@ extern void
 floatformat_from_double PARAMS ((const struct floatformat *,
                                 double *, char *));
 
+/* Return non-zero iff the data at FROM is a valid number in format FMT.  */
+
+extern int
+floatformat_is_valid PARAMS ((const struct floatformat *fmt, char *from));
+
 #endif /* defined (FLOATFORMAT_H) */