Ignore:
Timestamp:
04/27/07 22:55:01 (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:
63b9bd4
Parents:
36d51c8
Message:

Flag functions as static if they're not actually used.
Include report.h too to make sure that functions have the right prototypes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracereport/port_report.c

    rf3576f5 r466aed6  
    88#include "tracereport.h"
    99#include "contain.h"
     10#include "report.h"
    1011
    1112stat_t *ports[3][256] = {{NULL}};
     
    4041
    4142
    42 void port_port(int i,char *prot, int j, FILE *out)
     43static void port_port(int i,char *prot, int j, FILE *out)
    4344{
    4445        struct servent *ent = getservbyport(htons(j),prot);
     
    7576}
    7677
    77 void port_protocol(int i, FILE *out)
     78static void port_protocol(int i, FILE *out)
    7879{
    7980        int j,k;
Note: See TracChangeset for help on using the changeset viewer.