Changeset 33d83d4 for lib/format_wag.c


Ignore:
Timestamp:
11/14/06 11:49:11 (15 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:
cab58c5
Parents:
b9aa767
Message:

Fixed up brazillions of warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_wag.c

    ra7d1914 r33d83d4  
    216216        size_t framesize;
    217217        char *buf_ptr = (char *)buffer;
    218         int to_read = 0;
     218        unsigned int to_read = 0;
    219219        uint16_t magic = 0;
    220220        long fd_flags;
     
    500500}
    501501
    502 struct libtrace_eventobj_t trace_event_wag(libtrace_t *trace, libtrace_packet_t *packet) {
     502static struct libtrace_eventobj_t trace_event_wag(libtrace_t *trace, libtrace_packet_t *packet)
     503{
    503504        struct libtrace_eventobj_t event = {0,0,0.0,0};
    504505        libtrace_err_t read_err;
     
    533534}
    534535       
    535 static void wag_help() {
     536static void wag_help(void) {
    536537        printf("wag format module: $Revision$\n");
    537538        printf("Supported input URIs:\n");
     
    545546}
    546547
    547 static void wtf_help() {
     548static void wtf_help(void) {
    548549        printf("wag trace format module: $Revision$\n");
    549550        printf("Supported input URIs:\n");
     
    634635
    635636
    636 void wag_constructor() {
     637void wag_constructor(void) {
    637638        register_format(&wag);
    638639        register_format(&wag_trace);
Note: See TracChangeset for help on using the changeset viewer.