#5 fixed gcc warnings

open
nobody
None
5
2012-05-30
2012-05-30
Tim Ruehsen
No

the patch fixes several gcc (4.7.0) warnings like missing or old-style prototypes, const issues, unused parameters, etc

* igmpproxy.h: fix gcc warnings [-Wstrict-prototypes]
* igmpproxy.c: fix gcc warnings [-Wstrict-prototypes] [-Wold-style-definition]
* callout.c: fix gcc warnings [-Wold-style-definition]
* config.c: fix gcc warnings [-Wold-style-definition] [-Wstrict-prototypes] [-Wmissing-prototypes]
* confread.c: fix gcc warnings [-Wold-style-definition]
* ifvc.c: fix gcc warnings [-Wold-style-definition] [-Wmissing-prototypes]
* igmp.c: fix gcc warnings [-Wold-style-definition] [-Wmissing-prototypes]
igmpPacketKind() return type fixed to 'const char *'
* mroute-api.c: fix gcc warnings [-Wold-style-definition]
* request.c: fix gcc warnings [-Wold-style-definition] [-Wunused-parameter]
cast second arg to timer_setTimer() to timer_f
* rttable.c: fix gcc warnings [-Wold-style-definition] [-Wstrict-prototypes] [-Wmissing-prototypes]
logRouteTable() fixed argument to 'const char *'

Discussion

  • Tim Ruehsen
    Tim Ruehsen
    2012-05-30

    fixed gcc warnings

     
    Attachments