X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbemodule.c;h=01435383f25b8691d4bfe065d4ea7b695ba0db04;hb=c1fdf770d4d000dd5cf22daead32369342c5f5d1;hp=619e8633960be04c0606a5d92bb950c2d0585240;hpb=d0b3166918a09be4d589cdaaa49f5d2a0a360816;p=libfirm diff --git a/ir/be/bemodule.c b/ir/be/bemodule.c index 619e86339..01435383f 100644 --- a/ir/be/bemodule.c +++ b/ir/be/bemodule.c @@ -148,7 +148,7 @@ void be_quit_modules(void) //--------------------------------------------------------------------------- typedef struct module_opt_data_t { - const void **var; + void **var; be_module_list_entry_t * const *list_head; } module_opt_data_t; @@ -241,7 +241,7 @@ int dump_opt_module_vals(char *buf, size_t buflen, const char *name, * Add a new module to list. */ void be_add_module_to_list(be_module_list_entry_t **list_head, const char *name, - const void *module) + void *module) { be_module_list_entry_t *entry = XMALLOC(be_module_list_entry_t); entry->name = name;