And switch to a new-style function definition. Fixes build issues with compilers that do not accept implicit function declarations.