fix compile warnings for gcc-4.3.2
authorBernd Petrovitsch <bernd@firmix.at>
Mon, 10 Nov 2008 21:58:20 +0000 (22:58 +0100)
committerBernd Petrovitsch <bernd@firmix.at>
Mon, 10 Nov 2008 21:58:20 +0000 (22:58 +0100)
commitfe5794c416218b309d660ff8a4b63e78b6f22a3f
treeddf8b4c1e3272f330c51d67226774cd2cc2b9bb5
parent59b60f1404425bdd9c2de983112ea5767206a299
fix compile warnings for gcc-4.3.2

Added a "round up to the power of 2" macro to fix some warnings.
Rewrite some code to avoid warnings.
1 warning is not really fiaxable -at least now.
Makefile.inc
lib/nameservice/Makefile
lib/tas/Makefile
src/common/autobuf.c
src/defs.h
src/ipcalc.c
src/main.c
src/olsr_switch/Makefile