[PATCH 2/3] make validate_event_option static