OSDN Git Service

2003-07-29 Andrew Pinski <pinskia@physics.uc.edu>
[pf3gnuchains/gcc-fork.git] / gcc / genemit.c
index 35b58a0..8a821d6 100644 (file)
@@ -317,8 +317,7 @@ gen_insn (rtx insn, int lineno)
       if (i != XVECLEN (insn, 1) - 1)
        {
          struct clobber_pat *p;
-         struct clobber_ent *link
-           = (struct clobber_ent *) xmalloc (sizeof (struct clobber_ent));
+         struct clobber_ent *link = xmalloc (sizeof (struct clobber_ent));
          int j;
 
          link->code_number = insn_code_number;
@@ -354,7 +353,7 @@ gen_insn (rtx insn, int lineno)
 
          if (p == 0)
            {
-             p = (struct clobber_pat *) xmalloc (sizeof (struct clobber_pat));
+             p = xmalloc (sizeof (struct clobber_pat));
 
              p->insns = 0;
              p->pattern = insn;
@@ -671,7 +670,7 @@ gen_split (rtx split)
    the end of the vector.  */
 
 static void
-output_add_clobbers ()
+output_add_clobbers (void)
 {
   struct clobber_pat *clobber;
   struct clobber_ent *ent;