mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Clean up the create of the obj_module_s structure.
This commit is contained in:
parent
cbfbc0b01a
commit
9cf63dbbdf
1 changed files with 3 additions and 8 deletions
|
@ -233,9 +233,6 @@ init_objective_structs (void)
|
|||
chain_type (&type_Super);
|
||||
chain_type (&type_SuperPtr);
|
||||
chain_type (&type_supermsg);
|
||||
|
||||
make_structure ("obj_module_s", 's', module_struct, &type_module);
|
||||
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -284,15 +281,13 @@ class_init_obj_module (void)
|
|||
{
|
||||
symbol_t *sym;
|
||||
|
||||
sym = new_symbol ("obj_module_s");
|
||||
sym = find_struct ('s', sym, &type_module);
|
||||
make_structure ("obj_module_s", 's', module_struct, &type_module);
|
||||
|
||||
chain_type (&type_module);
|
||||
chain_type (&type_moduleptr);
|
||||
chain_type (&type_obj_exec_class);
|
||||
if (!sym->table)
|
||||
symtab_addsymbol (pr.symtab, sym);
|
||||
|
||||
sym = new_symbol_type ("obj_module_t", sym->type);
|
||||
sym = new_symbol_type ("obj_module_t", &type_module);
|
||||
sym->sy_type = sy_type;
|
||||
symtab_addsymbol (pr.symtab, sym);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue