diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-09-16 00:13:45 +0400 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-09-16 00:13:45 +0400 |
commit | 80a45e340c1984bac3b1af76e384326aa956aa99 (patch) | |
tree | 6cb746cfb4a245276077638a812fe2a58867eaa6 /include/floatformat.h | |
parent | 7fe8e9029914ebcaa8c034fab5d3fa08225162a9 (diff) |
* floatformat.h (floatformat_is_valid): Add prototype.
Diffstat (limited to 'include/floatformat.h')
-rw-r--r-- | include/floatformat.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/floatformat.h b/include/floatformat.h index 53ead3eee..feb326011 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) */ |