Fix suspect warning on OS X (clang)

type specifier missing, defaults to 'int'.  Since all of the similar functions
where void as well, I made this one also void (instead of the default int).
This also fixed the related "control reaches end of non-void function" warning.