fix for -Wduplicate-decl-specifier