i'm thinking about the global variable declarations dwm.h does not use the 'extern' storage class specifier anymore, which is imho not correct for variables (actually i asked it on comp.lang.c) http://c-faq.com/decl/decldef.html
otoh if current solution is accepted then the redefinitions in .c files (eg main.c) are not needed (except when the variable is initialized there) nsz
