event.c broken. need to rethink wait_queue and list_head declarations/implementations