sim: require a C11 compiler
[binutils-gdb.git] / sim / m68hc11 / interrupts.h
index 429ab74f62fd0dccf55fd7ecc8fd2f43b985ca61..95d08802c4b9c8ddd70c7bbc482d00284e82b6f0 100644 (file)
@@ -1,6 +1,5 @@
 /* interrupts.h -- 68HC11 Interrupts Emulation
-   Copyright 1999, 2000, 2001, 2002, 2007, 2008, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright 1999-2021 Free Software Foundation, Inc.
    Written by Stephane Carrez (stcarrez@worldnet.fr)
 
 This file is part of GDB, GAS, and the GNU binutils.
@@ -123,7 +122,7 @@ struct interrupt
       are masked; second it checks for pending interrupts and raise one if
       interrupts are enabled.  */
 struct interrupts {
-  struct _sim_cpu   *cpu;
+  sim_cpu           *cpu;
 
   /* Mask of current pending interrupts.  */
   unsigned long     pending_mask;
@@ -160,7 +159,7 @@ struct interrupts {
   struct interrupt_history interrupts_history[MAX_INT_HISTORY];
 };
 
-extern void interrupts_initialize     (SIM_DESC sd, struct _sim_cpu* cpu);
+extern void interrupts_initialize     (SIM_DESC sd, sim_cpu *cpu);
 extern void interrupts_reset          (struct interrupts* interrupts);
 extern void interrupts_update_pending (struct interrupts* interrupts);
 extern int  interrupts_get_current    (struct interrupts* interrupts);