removed unused typedef warnings in later gcc versions