2 Copyright © <year>, The AROS Development Team. All rights reserved.
6 #include <proto/exec.h>
8 #include LC_LIBDEFS_FILE
10 /*****************************************************************************
13 #include <proto/setpatch.h>
15 AROS_LH1(VOID
, RemPatch
,
18 AROS_LHA(struct PatchEntry
*, pe
, A0
),
21 struct SetPatchBase
*, SetPatchBase
, 6, Setpatch
)
27 Patch entry to remove (from FindPatch() or AddPatch())
31 Patch entry is removed from the master patch list
45 *****************************************************************************/
49 struct PatchEntry
*pematch
;
51 ObtainSemaphore(&SetPatchBase
->sp_Patch3
.sp_Semaphore
);
52 ForeachNode(&SetPatchBase
->sp_Patch3
.sp_PatchList
, pematch
) {
54 Remove((struct Node
*)pe
);
58 ReleaseSemaphore(&SetPatchBase
->sp_Patch3
.sp_Semaphore
);