From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id E193B3858D1E for ; Fri, 23 Dec 2022 02:55:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E193B3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id EABF0340EE6; Fri, 23 Dec 2022 02:55:37 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH 1/3] sim: cr16/d10v/mcore/moxie: clean up unused word & uword types Date: Thu, 22 Dec 2022 21:55:33 -0500 Message-Id: <20221223025535.482-1-vapier@gentoo.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,KAM_SHORT,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Nothing actually uses these, so punt them. Some of the ports are using local "word" types, but we'll clean those up in a follow up. --- sim/cr16/sim-main.h | 4 ---- sim/d10v/sim-main.h | 4 ---- sim/mcore/sim-main.h | 1 - sim/moxie/interp.c | 1 - 4 files changed, 10 deletions(-) diff --git a/sim/cr16/sim-main.h b/sim/cr16/sim-main.h index 667db199ea12..188c32caa09c 100644 --- a/sim/cr16/sim-main.h +++ b/sim/cr16/sim-main.h @@ -20,10 +20,6 @@ #define SIM_MAIN_H #include "sim-basics.h" - -typedef long int word; -typedef unsigned long int uword; - #include "sim-base.h" #include "bfd.h" diff --git a/sim/d10v/sim-main.h b/sim/d10v/sim-main.h index 3d7b73231838..a6462d8c6a43 100644 --- a/sim/d10v/sim-main.h +++ b/sim/d10v/sim-main.h @@ -20,10 +20,6 @@ #define SIM_MAIN_H #include "sim-basics.h" - -typedef long int word; -typedef unsigned long int uword; - #include "sim-base.h" #include "bfd.h" diff --git a/sim/mcore/sim-main.h b/sim/mcore/sim-main.h index fc4625ba8ec2..23e7ae64b05c 100644 --- a/sim/mcore/sim-main.h +++ b/sim/mcore/sim-main.h @@ -22,7 +22,6 @@ along with this program. If not, see . */ #include "sim-basics.h" typedef long int word; -typedef unsigned long int uword; #include "sim-base.h" #include "bfd.h" diff --git a/sim/moxie/interp.c b/sim/moxie/interp.c index ea0a559a0572..42918659e488 100644 --- a/sim/moxie/interp.c +++ b/sim/moxie/interp.c @@ -38,7 +38,6 @@ along with this program. If not, see . */ #include "target-newlib-syscall.h" typedef int word; -typedef unsigned int uword; /* Extract the signed 10-bit offset from a 16-bit branch instruction. */ -- 2.39.0