extern-c problem