diskimage: Compiler delint
[AROS.git] / rom / devs / console / remconsniphook.c
blobb1e6d47d2f67fdd90fb0eff06ae86962b93a7eae
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)
12 AROS_LIBFUNC_INIT
14 ObtainSemaphore(&ConsoleDevice->copyBufferLock);
15 Remove((struct Node*)hook);
16 ReleaseSemaphore(&ConsoleDevice->copyBufferLock);
18 AROS_LIBFUNC_EXIT