Move arm_apcs_32 extern declaration to header

Instead of having several extern declarations for arm_apcs_32
in a few .c files, declare it in arm-tdep.h. This file is already
included from these .c files.

gdb/ChangeLog:

2019-09-19  Christian Biesinger  <cbiesinger@google.com>

	* arm-linux-nat.c: Remove extern declaration for arm_apcs_32.
	* arm-linux-tdep.c: Likewise.
	* arm-nbsd-nat.c: Likewise.
	* arm-tdep.h: Declare arm_apcs_32.
This commit is contained in:
Christian Biesinger
2019-09-19 13:33:35 +09:00
parent e86f08d28f
commit c7ae7675cf
6 changed files with 13 additions and 6 deletions

View File

@@ -66,8 +66,6 @@
#define PTRACE_SETHBPREGS 30
#endif
extern bool arm_apcs_32;
class arm_linux_nat_target final : public linux_nat_target
{
public: