be consistent and only add extern C in the firm.h header and in no other header