From 6b450f1e50c69c5538f858cdf9f82f8e5b696766 Mon Sep 17 00:00:00 2001
From: drow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon, 15 Sep 2003 20:16:22 +0000
Subject: [PATCH] 	* floatformat.h (floatformat_is_valid): Add prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71404 138bc75d-0d04-0410-961f-82ee72b054a4
---
 include/ChangeLog     | 4 ++++
 include/floatformat.h | 7 ++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/include/ChangeLog b/include/ChangeLog
index 0a9e82082959..2f29f64c1475 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 53ead3eee61a..feb3260117c4 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) */
-- 
GitLab