aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@mvista.com>2003-09-15 20:16:22 +0000
committerDaniel Jacobowitz <drow@gcc.gnu.org>2003-09-15 20:16:22 +0000
commit0d66a8212c145b418e7286380f0ecc7e55a197d2 (patch)
treef8427247b24c50240a13487d725a56fef22b1418 /include
parent3d9b02802dd4f320b643c457604077e9c305c0c9 (diff)
downloadgcc-0d66a8212c145b418e7286380f0ecc7e55a197d2.zip
gcc-0d66a8212c145b418e7286380f0ecc7e55a197d2.tar.gz
gcc-0d66a8212c145b418e7286380f0ecc7e55a197d2.tar.bz2
* floatformat.h (floatformat_is_valid): Add prototype.
From-SVN: r71404
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/floatformat.h7
2 files changed, 10 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 0a9e820..2f29f64 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2003-09-15 Daniel Jacobowitz <drow@mvista.com>
+
+ * floatformat.h (floatformat_is_valid): Add prototype.
+
2003-07-09 Bob Wilson <bob.wilson@acm.org>
* xtensa-config.h: Undef all macros before defining them.
diff --git a/include/floatformat.h b/include/floatformat.h
index 53ead3e..feb3260 100644
--- a/include/floatformat.h
+++ b/include/floatformat.h
@@ -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) */