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

    r19c6cbe r33d83d4  
    3535#include "libtrace_int.h"
    3636#include "format_helper.h"
    37 #include "parse_cmd.h"
    3837
    3938#include <assert.h>
     
    626625static int erf_read_packet(libtrace_t *libtrace, libtrace_packet_t *packet) {
    627626        int numbytes;
    628         int size;
     627        unsigned int size;
    629628        void *buffer2 = packet->buffer;
    630         int rlen;
     629        unsigned int rlen;
    631630
    632631        if (!packet->buffer || packet->buf_control == TRACE_CTRL_EXTERNAL) {
     
    883882
    884883#ifdef HAVE_DAG
    885 libtrace_eventobj_t trace_event_dag(libtrace_t *trace, libtrace_packet_t *packet) {
     884static libtrace_eventobj_t trace_event_dag(libtrace_t *trace,
     885                                        libtrace_packet_t *packet) {
    886886        libtrace_eventobj_t event = {0,0,0.0,0};
    887887        int dag_fd;
     
    908908
    909909#ifdef HAVE_DAG
    910 static void dag_help() {
     910static void dag_help(void) {
    911911        printf("dag format module: $Revision$\n");
    912912        printf("Supported input URIs:\n");
     
    921921#endif
    922922
    923 static void erf_help() {
     923static void erf_help(void) {
    924924        printf("erf format module: $Revision$\n");
    925925        printf("Supported input URIs:\n");
     
    10171017#endif
    10181018
    1019 void erf_constructor() {
     1019void erf_constructor(void) {
    10201020        register_format(&erf);
    10211021#ifdef HAVE_DAG
Note: See TracChangeset for help on using the changeset viewer.