Changeset c26ca86 for lib/format_rt.c


Ignore:
Timestamp:
02/28/06 10:40:12 (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:
0d57541
Parents:
5fb2251
Message:

Cleanup some more warnings. Lets get rid of them all!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_rt.c

    rd8f02df rc26ca86  
    327327
    328328static int rt_send_ack(struct libtrace_t *libtrace,
    329                 struct libtrace_packet_t *packet, uint32_t seqno)  {
     329                uint32_t seqno)  {
    330330       
    331331        static char *ack_buffer = 0;
     
    416416                        if (reliability > 0) {
    417417                               
    418                                 if (rt_send_ack(libtrace, packet,
    419                                        pkt_hdr.sequence) == -1)
     418                                if (rt_send_ack(libtrace, pkt_hdr.sequence)
     419                                                == -1)
    420420                                {
    421421                                        return -1;
     
    476476}
    477477                       
    478 static int rt_get_framing_length(const struct libtrace_packet_t *packet) {
     478static int rt_get_framing_length(const libtrace_packet_t *packet) {
    479479        return 0;
    480480}
    481481
    482482
    483 static int rt_get_fd(const struct libtrace_t *trace) {
     483static int rt_get_fd(const libtrace_t *trace) {
    484484        return ((struct rt_format_data_t *)trace->format_data)->input_fd;
    485485}
Note: See TracChangeset for help on using the changeset viewer.