Changeset e1868fb for lib/libtrace_int.h


Ignore:
Timestamp:
12/31/06 17:41:10 (14 years ago)
Author:
Perry Lorier <perry@…>
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:
4746c71
Parents:
e2d49d5
Message:

Add attribute((format(printf))) flags to functions that should have it.
Found a nasty bug in trace_get_server_port() where the body of an if() wasn't
correctly {}'d.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_int.h

    r4bd8a5b re1868fb  
    150150};
    151151
    152 void trace_set_err(libtrace_t *trace, int errcode,const char *msg,...);
    153 void trace_set_err_out(libtrace_out_t *trace, int errcode, const char *msg,...);
     152void trace_set_err(libtrace_t *trace, int errcode,const char *msg,...)
     153                                                                PRINTF(3,4);
     154void trace_set_err_out(libtrace_out_t *trace, int errcode, const char *msg,...)
     155                                                                PRINTF(3,4);
    154156
    155157typedef struct libtrace_sll_header_t {
Note: See TracChangeset for help on using the changeset viewer.