forked from Imagelibrary/binutils-gdb
Use "struct bcache" in objfiles.h
If objfiles.h is included after bcache.h, then the "bcache" function will cause a compiler error because "bcache" will be seen as a function, not a type. Fix this error by using the "struct" keyword. gdb/ChangeLog 2019-01-22 Tom Tromey <tom@tromey.com> * objfiles.h (struct objfile_per_bfd_storage): Use "struct" keyword for bcache.
This commit is contained in:
@@ -240,11 +240,11 @@ struct objfile_per_bfd_storage
|
||||
|
||||
/* Byte cache for file names. */
|
||||
|
||||
bcache *filename_cache = NULL;
|
||||
struct bcache *filename_cache = NULL;
|
||||
|
||||
/* Byte cache for macros. */
|
||||
|
||||
bcache *macro_cache = NULL;
|
||||
struct bcache *macro_cache = NULL;
|
||||
|
||||
/* The gdbarch associated with the BFD. Note that this gdbarch is
|
||||
determined solely from BFD information, without looking at target
|
||||
|
||||
Reference in New Issue
Block a user