diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-01-03 03:44:02 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-01-03 04:23:10 -0500 |
commit | 61971b86bb897dc333fccffb7518056c83b99f45 (patch) | |
tree | beeb919cc16f3b313869095a3ad18f0a5ba0280e /sim/common | |
parent | 34fed69938f1296b62354b2a825b49602fe7af50 (diff) | |
download | gdb-61971b86bb897dc333fccffb7518056c83b99f45.zip gdb-61971b86bb897dc333fccffb7518056c83b99f45.tar.gz gdb-61971b86bb897dc333fccffb7518056c83b99f45.tar.bz2 |
sim: clean up some more device detritus
Clean up some more remains of WITH_DEVICES that escaped notice.
We also clean up GETTWI/SETTWI defines in a few ports where they
were copied & pasted and are unused as they happen to be near the
device code.
Diffstat (limited to 'sim/common')
-rw-r--r-- | sim/common/ChangeLog | 5 | ||||
-rw-r--r-- | sim/common/hw-device.h | 3 | ||||
-rw-r--r-- | sim/common/sim-basics.h | 1 |
3 files changed, 5 insertions, 4 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index e66c289..d358491 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,10 @@ 2016-01-03 Mike Frysinger <vapier@gentoo.org> + * hw-device.h (device): Delete commented typedef. + * sim-basics.h (device): Delete typedef. + +2016-01-03 Mike Frysinger <vapier@gentoo.org> + * sim-options.c (sim_parse_args): Replace for loop with a call to countargv. diff --git a/sim/common/hw-device.h b/sim/common/hw-device.h index 49dcc33..bf1e9e51 100644 --- a/sim/common/hw-device.h +++ b/sim/common/hw-device.h @@ -23,9 +23,6 @@ #ifndef HW_DEVICE_H #define HW_DEVICE_H -/* declared in sim-basics.h, this object is used everywhere */ -/* typedef struct _device device; */ - /* Introduction: diff --git a/sim/common/sim-basics.h b/sim/common/sim-basics.h index 81a6966..e0cb6d1 100644 --- a/sim/common/sim-basics.h +++ b/sim/common/sim-basics.h @@ -60,7 +60,6 @@ extern int asprintf (char **result, const char *format, ...); /* Global types that code manipulates */ -typedef struct _device device; struct hw; struct _sim_fpu; |