For some reason the indention and whitespaces were quite messed up.
This patchset fixes this and makes the code much more readable
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
On 64bit machines the compilation yielded some warnings due to incorrect
format specifiers. Use the standard one from inttypes.h.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Some implicit headerfiles were missing, if used without -std=gnu99.
Since we do not rely on gnu99 behavior by including the header files,
we can use -std=c99, which we state explicitly in the Makefile now.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>