Changeset 33d83d4 for lib/format_rt.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_rt.c

    r85921e8 r33d83d4  
    3737#include "libtrace_int.h"
    3838#include "format_helper.h"
    39 #include "parse_cmd.h"
    4039#include "rt_protocol.h"
    4140
     
    5453#define RT_INFO ((struct rt_format_data_t*)libtrace->format_data)
    5554
    56 char *rt_deny_reason(uint8_t reason) {
     55static char *rt_deny_reason(uint8_t reason) {
    5756        char *string = 0;
    5857
     
    442441        char *buf_ptr;
    443442        int numbytes = 0;
    444         int to_write = 0;
     443        unsigned int to_write = 0;
    445444        rt_header_t *hdr;
    446445        rt_ack_t *ack_hdr;
     
    631630}
    632631
    633 libtrace_eventobj_t trace_event_rt(libtrace_t *trace, libtrace_packet_t *packet) {
     632static libtrace_eventobj_t trace_event_rt(libtrace_t *trace,
     633                                        libtrace_packet_t *packet)
     634{
    634635        libtrace_eventobj_t event = {0,0,0.0,0};
    635636        libtrace_err_t read_err;
     
    667668}
    668669
    669 static void rt_help() {
     670static void rt_help(void) {
    670671        printf("rt format module\n");
    671672        printf("Supported input URIs:\n");
     
    715716};
    716717
    717 void rt_constructor() {
     718void rt_constructor(void) {
    718719        register_format(&rt);
    719720}
Note: See TracChangeset for help on using the changeset viewer.