* sim/ucsim/avr.src/Makefile.in, sim/ucsim/hc08.src/Makefile.in,
[fw/sdcc] / sim / ucsim / sim.src / itsrccl.h
index 5752241be87532160604e2105194d43952d9287d..673a96e86c6cae18a85f0863b2c542952e0c3232 100644 (file)
@@ -45,7 +45,7 @@ public:
   uchar src_mask; // Mask of source bit in src_reg
   uint  addr;     // Address of service routine
   bool  clr_bit;  // Request bit must be cleared when IT accepted
-  char  *name;   // For debug
+  //char  *name;         // For debug
   bool  active;   // Acceptance can be disabled
 
   cl_it_src(uchar Iie_mask,
@@ -53,7 +53,7 @@ public:
            uchar Isrc_mask,
            uint  Iaddr,
            bool  Iclr_bit,
-           char  *Iname,
+           const char  *Iname,
            int   apoll_priority);
   virtual ~cl_it_src(void);
 
@@ -68,8 +68,8 @@ class cl_irqs: public cl_sorted_list
 {
 public:
   cl_irqs(t_index alimit, t_index adelta);
-  virtual void *key_of(void *item); 
-  virtual int compare(void *key1, void *key2);
+  virtual const void *key_of(void *item); 
+  virtual int compare(const void *key1, const void *key2);
 };