warning: control reaches end of non-void function fixed.
some gcc warnings fixed
Makefiles excluded