add entry point extern definition