From: Simon Marchi Date: Fri, 11 Apr 2025 17:07:26 +0000 (-0400) Subject: gdb: add forward declarations in maint.h X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7fa205d2fe280f331ff08de24198229fa864014f;p=thirdparty%2Fbinutils-gdb.git gdb: add forward declarations in maint.h Editing maint.h with clangd shows some errors about obj_section and objfile being unknown. Add some forward declarations for them. Change-Id: Ic4dd12a371198fdf740892254a8f2c1fae2846b9 --- diff --git a/gdb/maint.h b/gdb/maint.h index 434d2a90db4..0ddc62bb9e9 100644 --- a/gdb/maint.h +++ b/gdb/maint.h @@ -22,6 +22,9 @@ #include "gdbsupport/run-time-clock.h" #include +struct obj_section; +struct objfile; + extern void set_per_command_time (int); extern void set_per_command_space (int);