fixed compiler idenifying macros

extern macro removed