summaryrefslogtreecommitdiff
path: root/gdb/ui-file.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2000-03-30 19:52:35 +0000
committerMichael Snyder <msnyder@specifix.com>2000-03-30 19:52:35 +0000
commit229e4ee0d8b668ed5b48263447a53a6da851c9a2 (patch)
tree4e9a885d43160c6839dc44cd851ec0ac7168c66a /gdb/ui-file.c
parenta47921cd628a269b007452d522d50fbe9d737a08 (diff)
downloadgdb-229e4ee0d8b668ed5b48263447a53a6da851c9a2.tar.gz
2000-03-30 Michael Snyder <msnyder@cleaver.cygnus.com>
* ui-file.c: Include "gdb_string.h" * cli-out.c: Include gdb_string.h to avoid compiler warnings. * wrapper.[ch] (struct gdb_wrapper_arguments): Change fields into unions, since they are all used to hold both pointers and ints at various times. Casting pointer to int and vice versa gives warnings (and is not safe) if they are not the same size.
Diffstat (limited to 'gdb/ui-file.c')
-rw-r--r--gdb/ui-file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ui-file.c b/gdb/ui-file.c
index d077009956a..f9d5331ba6e 100644
--- a/gdb/ui-file.c
+++ b/gdb/ui-file.c
@@ -22,6 +22,7 @@
#include "defs.h"
#include "ui-file.h"
+#include "gdb_string.h"
#undef XMALLOC
#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))