static bool write_header(FILE *fp)

{

    static const TraceRecord header = {

        .event = HEADER_EVENT_ID,

        .timestamp_ns = HEADER_MAGIC,

        .x1 = HEADER_VERSION,

    };



    return fwrite(&header, sizeof header, 1, fp) == 1;

}

static bool write_header(FILE *fp)

{

    static const TraceRecord header = {

        .event = HEADER_EVENT_ID,

        .timestamp_ns = HEADER_MAGIC,

        .x1 = HEADER_VERSION,

    };



    return fwrite(&header, sizeof header, 1, fp) == 1;

}

static bool write_header(FILE *fp)     static const TraceRecord header = {         .event = HEADER_EVENT_ID,         .timestamp_ns = HEADER_MAGIC,         .x1 = HEADER_VERSION,     };     return fwrite(&header, sizeof header, 1, fp) == 1;
static bool FUNC_0(FILE *fp)

{

    static const TraceRecord VAR_0 = {

        .event = HEADER_EVENT_ID,

        .timestamp_ns = HEADER_MAGIC,

        .x1 = HEADER_VERSION,

    };



    return fwrite(&VAR_0, sizeof VAR_0, 1, fp) == 1;

}

static bool FUNC_0(FILE *fp)
{ static const TraceRecord VAR_0 = { .event = HEADER_EVENT_ID,
.timestamp_ns = HEADER_MAGIC,
.x1 = HEADER_VERSION,
}; return fwrite(&VAR_0, sizeof VAR_0, 1, fp) == 1; }