Commit f89115d9 authored by Julian Kranz's avatar Julian Kranz

RReil Cif

parent 36f603bb
......@@ -561,7 +561,7 @@ static obj_t sem_varls_next(state_t state, obj_t next, obj_t list) {
jobject ret = java_method_call(state, "sem_varls_next", 2, (jobject)next, (jobject)list);
return (obj_t)ret;
}
static obj_t sem_varls_init(state_t state) {
static obj_t sem_varls_init(state_t state, obj_t nothing) {
jobject ret = java_method_call(state, "sem_varls_init", 0);
return (obj_t)ret;
}
......@@ -659,7 +659,7 @@ static obj_t list_next(state_t state, obj_t next, obj_t list) {
jobject ret = java_method_call(state, "list_next", 2, (jobject)next, (jobject)list);
return (obj_t)ret;
}
static obj_t list_init(state_t state) {
static obj_t list_init(state_t state, obj_t nothing) {
jobject ret = java_method_call(state, "list_init", 0);
return (obj_t)ret;
}
......
......@@ -370,7 +370,7 @@ static obj_t sem_varls_next(state_t state, obj_t next, obj_t list) {
variable_tuple->variables[variable_tuple->variables_length++] = (struct rreil_variable_limited*)next;
return (obj_t)variable_tuple;
}
static obj_t sem_varls_init(state_t state) {
static obj_t sem_varls_init(state_t state, obj_t nothing) {
struct rreil_variable_limited_tuple *variable_tuple = (struct rreil_variable_limited_tuple*)malloc(sizeof(struct rreil_variable_limited_tuple));
variable_tuple->variables = NULL;
variable_tuple->variables_length = 0;
......@@ -529,7 +529,7 @@ static obj_t list_next(state_t state, obj_t next,
(struct rreil_statement*)next;
return (obj_t)statements;
}
static obj_t list_init(state_t state) {
static obj_t list_init(state_t state, obj_t nothing) {
struct rreil_statements *statements = (struct rreil_statements*)malloc(
sizeof(struct rreil_statements));
statements->statements = NULL;
......
......@@ -4,6 +4,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <getopt.h>
#include <readhex.h>
#include <gdsl.h>
......
......@@ -451,7 +451,7 @@ static obj_t sem_varls_next(state_t state, obj_t next, obj_t list) {
printf("=> sem_varls_next\n");
return NULL;
}
static obj_t sem_varls_init(state_t state) {
static obj_t sem_varls_init(state_t state, obj_t nothing) {
printf("=> sem_varls_init\n");
return NULL;
}
......@@ -550,7 +550,7 @@ static obj_t list_next(state_t state, obj_t next,
printf("next statement\n\n");
return NULL ;
}
static obj_t list_init(state_t state) {
static obj_t list_init(state_t state, obj_t nothing) {
printf("init\n");
return NULL ;
}
......
......@@ -3,6 +3,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <getopt.h>
#include <readhex.h>
#include <gdsl.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment