Remember global functions across files.

Will now fix extern forward declarations across all files by using a global
dictionary. In order to remember the extern function, it must be obsolete and
subsequently corrected.