must be extern C

Change-Id: I29892002d787c7581be919eb40ae2a3b47b27b49