Ignore:
Timestamp:
11/07/05 10:06:22 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
5843707
Parents:
130a0e4
Message:

a lot of changes for cross-compilation support

  • header ordering
  • os-specific headers
  • an lt_inttypes.h which defines PRIu64 etc for platforms that don't have them
  • removed daglegacy.h, merged with dagformat.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracertstats/output_png.c

    r8e99466 re3b0188  
    77#include "gdchart.h"
    88#include "gdcpie.h"
     9#include <inttypes.h>
     10#include <lt_inttypes.h>
    911
    1012struct private_png_t {
     
    2931                switch (out->data[i].type) {
    3032                        case TYPE_int:
    31                                 prv->data[out->columns*(prv->rows-1)+i]=out->data[i].d_int;
     33                                prv->data[out->columns*(prv->rows-1)+i]=out->data[i].d.d_int;
    3234                                break;
    3335                        case TYPE_str:
    34                                 free(out->data[i].d_str);
     36                                free(out->data[i].d.d_str);
    3537                                break;
    3638                        case TYPE_float:
    37                                 prv->data[out->columns*(prv->rows-1)+i]=out->data[i].d_float;
     39                                prv->data[out->columns*(prv->rows-1)+i]=out->data[i].d.d_float;
    3840                                break;
    3941                        case TYPE_time:
    40                                 prv->data[out->columns*(prv->rows-1)+i]=out->data[i].d_time;
     42                                prv->data[out->columns*(prv->rows-1)+i]=out->data[i].d.d_time;
    4143                                break;
    4244                }
Note: See TracChangeset for help on using the changeset viewer.