From cb039ba4535a3e9ba59517dc973c842c513b4f05 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 15 Aug 2014 17:04:27 +0300 Subject: [PATCH] Avoid compiler warnings about incomplete parameter types. gdb/ChangeLog: * dcache.h: Include target.h, to avoid compile time warnings. --- gdb/ChangeLog | 4 ++++ gdb/dcache.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6aa6592..78d1635 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-08-15 Eli Zaretskii + + * dcache.h: Include target.h, to avoid compile time warnings. + 2014-08-15 Joel Brobecker * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct diff --git a/gdb/dcache.h b/gdb/dcache.h index 020abd6..75c2b3e 100644 --- a/gdb/dcache.h +++ b/gdb/dcache.h @@ -21,6 +21,8 @@ #ifndef DCACHE_H #define DCACHE_H +#include "target.h" /* for enum target_xfer_status */ + typedef struct dcache_struct DCACHE; /* Invalidate DCACHE. */ -- 2.7.4