removal of warnings under linux gcc

removal of attributes and format warnings