|
@@ -19,8 +19,6 @@ typedef struct hookFunction HOOKFUNC;
|
|
|
void runHook(HOOK * hook) {
|
|
|
LISTEL * head = hook->start;
|
|
|
while (head != NULL) {
|
|
|
- /* void *function = head->data; */
|
|
|
- /* ((void*)function)(); */
|
|
|
((HOOKFUNC*)(head->data))->function();
|
|
|
head = head->next;
|
|
|
}
|