A method for the irn label.
[libfirm] / ir / ir / irreflect.c
index a567e37..72ae101 100644 (file)
@@ -66,7 +66,7 @@ typedef struct {
        const char *name;
        bool commutative;
        int sig_count;
-       const rflct_arg_t *sigs[MAX_SIG_COUNT];
+       rflct_arg_t *sigs[MAX_SIG_COUNT];
 } rflct_opcode_t;
 
 static struct obstack obst;
@@ -413,7 +413,7 @@ void rflct_new_opcode(opcode opc, const char *name, bool commutative)
 
 bool rflct_opcode_add_signature(opcode opc, rflct_sig_t *sig)
 {
-       const rflct_arg_t *args = sig->args;
+       rflct_arg_t *args = sig->args;
        rflct_opcode_t *op = opcodes[opc];
        int i;
 
@@ -473,6 +473,6 @@ int rflct_signature_set_arg(rflct_sig_t *sig, bool is_use, int num,
 }
 
 
-void init_rflct(void) {
+void firm_init_rflct(void) {
        init_ops();
 }