X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Fidentify_types.c;h=0a1b706bd00f43f77b29ce2aa58d12548a9fdf9f;hb=003d29a41bee06c430cf1c78fd9a5b2eafeac71c;hp=2660c83d2499b0bcbb50f7df1f33d577b4ec468e;hpb=dddcc630819f338c3b45e2bc646233e6872d5bb6;p=libfirm diff --git a/testprograms/identify_types.c b/testprograms/identify_types.c index 2660c83d2..0a1b706bd 100644 --- a/testprograms/identify_types.c +++ b/testprograms/identify_types.c @@ -32,9 +32,12 @@ int main(int argc, char **argv) /** init library */ firm_parameter_t params; + type_identify_if_t params2; memset (¶ms, 0, sizeof(params)); params.size = sizeof(params); - params.compare_types_func = compare_names; + params2.cmp = compare_names; + params2.hash = NULL; + params.ti_if = ¶ms2; init_firm(¶ms);