correct trap input data pointer prototypes