From c7ae7675cf726c343a1db3e27e3e5665cb485271 Mon Sep 17 00:00:00 2001 From: Christian Biesinger Date: Thu, 19 Sep 2019 13:33:35 +0900 Subject: 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 * 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. --- gdb/arm-nbsd-nat.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/arm-nbsd-nat.c') diff --git a/gdb/arm-nbsd-nat.c b/gdb/arm-nbsd-nat.c index 38a9e95..5160bfd 100644 --- a/gdb/arm-nbsd-nat.c +++ b/gdb/arm-nbsd-nat.c @@ -40,8 +40,6 @@ public: static arm_netbsd_nat_target the_arm_netbsd_nat_target; -extern bool arm_apcs_32; - static void arm_supply_gregset (struct regcache *regcache, struct reg *gregset) { -- cgit v1.1