add missing extern(C)
Merge pull request #15 from MartinNowak/externC

add missing extern(C)