aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/m32c.opc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-02 00:07:21 -0400
committerMike Frysinger <vapier@gentoo.org>2021-05-02 10:58:20 -0400
commitf0c4dc40b2e16a876b5b61986de5014a78f76a5c (patch)
tree081740977f36d35892d79c180e792104293acfe8 /sim/m32c/m32c.opc
parentd89a87ba3c100bdbe82c7bd98ad7b8a2435e002f (diff)
downloadgdb-f0c4dc40b2e16a876b5b61986de5014a78f76a5c.zip
gdb-f0c4dc40b2e16a876b5b61986de5014a78f76a5c.tar.gz
gdb-f0c4dc40b2e16a876b5b61986de5014a78f76a5c.tar.bz2
sim: replace custom attributes with ansidecl.h
A lot of this code predates the common attributes. We had already started migrating over piece by piece, so just do a pass across all the attributes and replace most of them.
Diffstat (limited to 'sim/m32c/m32c.opc')
-rw-r--r--sim/m32c/m32c.opc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/m32c/m32c.opc b/sim/m32c/m32c.opc
index feee1e9..efe0495 100644
--- a/sim/m32c/m32c.opc
+++ b/sim/m32c/m32c.opc
@@ -22,13 +22,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <stdio.h>
#include <stdlib.h>
+#include "ansidecl.h"
#include "cpu.h"
#include "mem.h"
#include "misc.h"
#include "int.h"
-#define AU __attribute__((unused))
-
#define tprintf if (trace) printf
static unsigned char