sim: cr16/d10v/mcore/moxie: clean up unused word & uword types
authorMike Frysinger <vapier@gentoo.org>
Fri, 23 Dec 2022 02:36:24 +0000 (21:36 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 23 Dec 2022 02:55:47 +0000 (21:55 -0500)
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
sim/d10v/sim-main.h
sim/mcore/sim-main.h
sim/moxie/interp.c

index 667db199ea12dea5f30519e6a9b0a93baa5096bc..188c32caa09c575310105dd416f5bdebee78c31b 100644 (file)
 #define SIM_MAIN_H
 
 #include "sim-basics.h"
-
-typedef long int           word;
-typedef unsigned long int  uword;
-
 #include "sim-base.h"
 #include "bfd.h"
 
index 3d7b73231838848a05015bbb42ede2a801485601..a6462d8c6a43a0c63060087f27d4d6c6cd001427 100644 (file)
 #define SIM_MAIN_H
 
 #include "sim-basics.h"
-
-typedef long int           word;
-typedef unsigned long int  uword;
-
 #include "sim-base.h"
 #include "bfd.h"
 
index fc4625ba8ec2d86f2be143ce00276200e91c47f2..23e7ae64b05c5f6cb6c8360611a69565cd86131b 100644 (file)
@@ -22,7 +22,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 #include "sim-basics.h"
 
 typedef long int           word;
-typedef unsigned long int  uword;
 
 #include "sim-base.h"
 #include "bfd.h"
index ea0a559a0572afe271964830c7350455e0678c04..42918659e4886c48c27fb7caf4610664c25a71a0 100644 (file)
@@ -38,7 +38,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 #include "target-newlib-syscall.h"
 
 typedef int word;
-typedef unsigned int uword;
 
 /* Extract the signed 10-bit offset from a 16-bit branch
    instruction.  */