(2) Remove redundant extern declarations

It is not necessary to declare a function 'extern' again when it has already been declared 'extern "C"'.

In this particular instance it makes sense to roll the two into one and declare the functions as

    extern "C" myFunc()