struct port_obj_tentry *port_obj_table;
int port_obj_table_size = DEFAULT_TABLE_SIZE;
-void port_obj_init(
- int maxsize)
+void
+port_obj_init(int maxsize)
{
kern_return_t kr;
- kr = vm_allocate(mach_task_self(),
+ kr = vm_allocate(mach_task_self_,
(vm_offset_t *)&port_obj_table,
(vm_size_t)(maxsize * sizeof (*port_obj_table)),
TRUE);