[Patch] To fix some clang WARNINGS.
This patch was first done to FreeBSD, but I have received some requests to open the ticket here with this patch.
- At revision r247852 Martin Matuška accidentally we forgot to print out the obj too.
- Fix some void function that don't really need to return.
- Also for some global variables, declare it as static.
Patch at: https://reviews.freebsd.org/D2722
No data to display