Since the plotprefs array lives inside the global LAPSUPPLIEROPTIONS structure, it seems like you don't need this extern.  If anyone wants to use the global plotprefs, they can grab them out of the m_sfLapOpts (which should be g_sfLapOpts since you've made it global)