Changeset 0989e3e


Ignore:
Timestamp:
03/08/13 14:56:48 (8 years ago)
Author:
Shane Alcock <salcock@…>
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:
5ea8d25
Parents:
c49459b
Message:
  • Trying to fix some of the warnings that crop up with Ubuntu gcc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux.c

    rc909fad r0989e3e  
    589589        if(linuxnative_start_input(libtrace) != 0)
    590590                return -1;
     591
     592        strncpy(error, "No known error", 2048);
    591593
    592594        /* Make it a packetmmap */
  • libpacketdump/bitbuffer.c

    rfade02b r0989e3e  
    263263
    264264
    265 int yyerror(char *s)
     265int yyerror(const char *s)
    266266{
    267267    element_t *tmp;
  • libpacketdump/bitbuffer.h

    r4f666aa r0989e3e  
    11#include "grammar.h"
    22#include <stdio.h>
    3 int yyerror(char *s);
     3int yyerror(const char *s);
    44element_t *append(element_t *list, element_t *item);
    55void print_list(element_t *list);
Note: See TracChangeset for help on using the changeset viewer.