aboutsummaryrefslogtreecommitdiff
path: root/gdb/ieee-float.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-02-20 19:23:42 +0000
committerJohn Gilmore <gnu@cygnus>1992-02-20 19:23:42 +0000
commit088c3a0b74c7431d31ec5d095f4e68bdd2d90c0b (patch)
tree0ce19e10e2ec6ba41392bf245df0841bfde317bc /gdb/ieee-float.h
parent8b87cbae28c26fd9b5bed99eb134f6c66ee946ac (diff)
downloadgdb-088c3a0b74c7431d31ec5d095f4e68bdd2d90c0b.zip
gdb-088c3a0b74c7431d31ec5d095f4e68bdd2d90c0b.tar.gz
gdb-088c3a0b74c7431d31ec5d095f4e68bdd2d90c0b.tar.bz2
* defs.h: Include ansidecl.h and PARAMS macro. Use PARAMS
to make prototypes for all functions declared here. * cplus-dem.c: Avoid declaring xmalloc and xrealloc. * c-exp.y: Rename SIGNED, OR, and AND to avoid conflict. * environ.c: Include <stdio.h> before defs.h. Minor cleanup. * ieee-float.h: Use PARAMS for prototypes; make some params const. * ieee-float.c, valarith.c: Include <stdio.h>. Lint. b*=>mem*. * m2-exp.y: Remove unused CONST; Rename OR and AND. * utils.c: Avoid declaring malloc and realloc. Lint. (request_quit): Accept signal-number parameter.
Diffstat (limited to 'gdb/ieee-float.h')
-rw-r--r--gdb/ieee-float.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/gdb/ieee-float.h b/gdb/ieee-float.h
index bbe9e03..e59c0f9 100644
--- a/gdb/ieee-float.h
+++ b/gdb/ieee-float.h
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#if !defined (IEEE_FLOAT_H)
+#define IEEE_FLOAT_H 1
+
/* Parameters for extended float format: */
struct ext_format {
@@ -49,18 +52,12 @@ struct ext_format {
Store the double in *TO. */
extern void
-ieee_extended_to_double (
-#ifdef __STDC__
- struct ext_format *ext_format, char *from, double *to
-#endif
-);
+ieee_extended_to_double PARAMS ((const struct ext_format *, char *, double *));
/* The converse: convert the double *FROM to an extended float
and store where TO points. */
-void
-double_to_ieee_extended (
-#ifdef __STDC__
- struct ext_format *ext_format, double *from, char *to
-#endif
-);
+extern void
+double_to_ieee_extended PARAMS ((const struct ext_format *, double *, char *));
+
+#endif /* defined (IEEE_FLOAT_H) */