aboutsummaryrefslogtreecommitdiff
path: root/gdb/dcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dcache.c')
-rw-r--r--gdb/dcache.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/dcache.c b/gdb/dcache.c
index 159c3ac..7a2d0db 100644
--- a/gdb/dcache.c
+++ b/gdb/dcache.c
@@ -23,6 +23,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "dcache.h"
#include "gdbcmd.h"
+#ifdef __STDC__
+/* In case the system header files define a prototype for insque and
+ remque that uses a pointer to a struct qelem, silence the warnings */
+struct qelem;
+#define insque(a,b) (insque)((struct qelem *)(a), (struct qelem *)(b))
+#define remque(a) (remque)((struct qelem *)(a))
+#endif
+
int remote_dcache = 0;
/* The data cache records all the data read from the remote machine