event (and fixes)
chan-chan
fix test build with -Wall -Wextra -Werror