Tests: Add missing return types to C function prototypes

These were diagnosed by a Clang 15 development version.
2 files changed