Updated the trace_file header and c file with the latest version to remove compilation warnings.