d_local.h - fix extern declarations