2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Removes a port from the list of public ports.
8 #include <exec/ports.h>
9 #include <exec/execbase.h>
10 #include <aros/libcall.h>
11 #include <proto/exec.h>
13 /*****************************************************************************
17 AROS_LH1(void, RemPort
,
20 AROS_LHA(struct MsgPort
*, port
, A1
),
23 struct ExecBase
*, SysBase
, 60, Exec
)
26 Remove a public port from the public port list to make it private
27 again. Any further attempts to find this port in the public port
31 port - Pointer to messageport structure.
45 ******************************************************************************/
49 /* Arbitrate for the list of message ports.*/
52 /* Remove the current port. */
53 Remove(&port
->mp_Node
);