build: Enable stricter warnings and fix the biggest complaints
authorEmanuele Aina <emanuele.aina@collabora.com>
Sat, 21 Sep 2013 12:03:02 +0000 (14:03 +0200)
committerEmanuele Aina <emanuele.aina@collabora.com>
Sat, 21 Sep 2013 13:45:20 +0000 (15:45 +0200)
commit6cc6270dcddbf19dd9b655759bcec1c6f3d569e9
tree9fa1eeba69404f4744f231fec769fbe9d1e2851b
parent8e12f2ed886184662ccb72f64b03bf047d5c040d
build: Enable stricter warnings and fix the biggest complaints

Pointer arithmetics with (void*) is not well defined, it's better to
explicitly use (char*) to do byte arithmetics.

Also fix some missing prototypes and other minor issues.
configure.ac
m4/attributes.m4 [new file with mode: 0644]
src/cmdparse.c
src/help.c
src/refdbg.c
src/symsnarf.c
src/user.c
tests/error1.c
tests/tests.c