reformat main header file for C compiler