Change regerror() declaration from K&R style to ANSI C (C89)