avoid compiler warning about unused typedef