Silence -Wstrict-prototypes and static analyser warnings

Using "(void)" provides an explicit there-are-no-arguments prototype.
Using the exact type in "malloc(...sizeof)" is clearer and silences
warnings from clang's static analyzer.
Merge pull request #31 from jmarshall/warnings

Silence -Wstrict-prototypes and static analyser warnings in klist.h