2 #include <aros/debug.h>
3 #include <proto/console.h>
4 #include <proto/exec.h>
6 #include "console_gcc.h"
8 AROS_LH1(void, RemConSnipHook
,
9 AROS_LHA(struct Hook
*, hook
, A0
),
10 struct ConsoleBase
*, ConsoleDevice
, 12, Console
)
14 ObtainSemaphore(&ConsoleDevice
->copyBufferLock
);
15 Remove((struct Node
*)hook
);
16 ReleaseSemaphore(&ConsoleDevice
->copyBufferLock
);