QuickFix 2

Same reason as quickfix 1 but additionally making the function declarations explicitly EXTERN so that it is available in the global scope.
Merge pull request #2 from myozeus/patch-2

QuickFix 2