lint: declare functions that don't return a value as void
https://github.com/wiredtiger/wiredtiger/pull/3119