From: Simon Marchi Date: Wed, 16 May 2018 16:41:19 +0000 (-0400) Subject: regcache.c: Remove unused typedefs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3acb7083a675fb3077739a2ae41a4a4cd6ef9cc3;p=binutils-gdb.git regcache.c: Remove unused typedefs gdb/ChangeLog: * regcache.c (regcache_read_ftype, regcache_write_ftype): Remove. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 57a4075a121..3e0c53daa23 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-05-16 Simon Marchi + + * regcache.c (regcache_read_ftype, regcache_write_ftype): + Remove. + 2018-05-15 Tamar Christina PR binutils/21446 diff --git a/gdb/regcache.c b/gdb/regcache.c index a3cc7743a2e..83bcbd22a37 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -845,11 +845,6 @@ regcache::cooked_write (int regnum, const gdb_byte *buf) /* Perform a partial register transfer using a read, modify, write operation. */ -typedef void (regcache_read_ftype) (struct regcache *regcache, int regnum, - void *buf); -typedef void (regcache_write_ftype) (struct regcache *regcache, int regnum, - const void *buf); - enum register_status readable_regcache::read_part (int regnum, int offset, int len, void *in, bool is_raw)