[Olsr-cvs] olsrd-current/src build_msg.c, 1.38, 1.39 interfaces.c, 1.36, 1.37 interfaces.h, 1.44, 1.45 log.h, 1.6, 1.7 lq_route.c, 1.57, 1.58 lq_route.h, 1.6, 1.7 olsr.c, 1.62, 1.63 olsr.h, 1.26, 1.27
Bernd Petrovitsch
(spam-protected)
Fri Nov 16 20:12:57 CET 2007
- Previous message: [Olsr-cvs] olsrd-current/lib/httpinfo/src admin_interface.h, 1.3, 1.4 olsrd_httpinfo.c, 1.86, 1.87
- Next message: [Olsr-cvs] olsrd-current/lib/tas/src glua.c, 1.4, 1.5 glua_ext.c, 1.3, 1.4 http.c, 1.7, 1.8 http.h, 1.3, 1.4 lib.c, 1.2, 1.3 lib.h, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27640/src
Modified Files:
build_msg.c interfaces.c interfaces.h log.h lq_route.c
lq_route.h olsr.c olsr.h
Log Message:
* added -Wwrite-strings
Index: lq_route.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/lq_route.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** lq_route.c 8 Nov 2007 22:47:41 -0000 1.57
--- lq_route.c 16 Nov 2007 19:12:55 -0000 1.58
***************
*** 165,175 ****
! char *olsr_etx_to_string(float etx)
{
static char buff[20];
! if (etx == INFINITE_ETX)
return "INF";
!
snprintf(buff, sizeof(buff), "%.6f", etx);
return buff;
--- 165,175 ----
! const char *olsr_etx_to_string(float etx)
{
static char buff[20];
! if (etx == INFINITE_ETX) {
return "INF";
! }
snprintf(buff, sizeof(buff), "%.6f", etx);
return buff;
Index: interfaces.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/interfaces.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** interfaces.c 8 Nov 2007 22:47:41 -0000 1.36
--- interfaces.c 16 Nov 2007 19:12:55 -0000 1.37
***************
*** 357,361 ****
*/
struct olsr_if *
! queue_if(char *name, int hemu)
{
struct olsr_if *interf_n = olsr_cnf->interfaces;
--- 357,361 ----
*/
struct olsr_if *
! queue_if(const char *name, int hemu)
{
struct olsr_if *interf_n = olsr_cnf->interfaces;
Index: lq_route.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/lq_route.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** lq_route.h 13 Sep 2007 15:31:59 -0000 1.6
--- lq_route.h 16 Nov 2007 19:12:55 -0000 1.7
***************
*** 48,52 ****
void olsr_calculate_routing_table(void);
! char *olsr_etx_to_string(float);
#endif
--- 48,52 ----
void olsr_calculate_routing_table(void);
! const char *olsr_etx_to_string(float);
#endif
Index: interfaces.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/interfaces.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** interfaces.h 8 Nov 2007 22:47:41 -0000 1.44
--- interfaces.h 16 Nov 2007 19:12:55 -0000 1.45
***************
*** 219,223 ****
struct olsr_if *
! queue_if(char *, int);
int
--- 219,223 ----
struct olsr_if *
! queue_if(const char *, int);
int
Index: build_msg.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/build_msg.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** build_msg.c 8 Nov 2007 22:47:41 -0000 1.38
--- build_msg.c 16 Nov 2007 19:12:55 -0000 1.39
***************
*** 239,243 ****
static void
! check_buffspace(int msgsize, int buffsize, char *type)
{
if(msgsize > buffsize)
--- 239,243 ----
static void
! check_buffspace(int msgsize, int buffsize, const char *type)
{
if(msgsize > buffsize)
Index: olsr.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/olsr.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** olsr.h 20 Apr 2007 13:46:04 -0000 1.26
--- olsr.h 16 Nov 2007 19:12:55 -0000 1.27
***************
*** 1,5 ****
/*
* The olsr.org Optimized Link-State Routing daemon(olsrd)
! * Copyright (c) 2004, Andreas Tønnesen((spam-protected))
* All rights reserved.
*
--- 1,5 ----
/*
* The olsr.org Optimized Link-State Routing daemon(olsrd)
! * Copyright (c) 2004, Andreas Tønnesen((spam-protected))
* All rights reserved.
*
***************
*** 102,106 ****
int
! olsr_printf(int, char *, ...) __attribute__((format(printf,2,3)));
#endif
--- 102,106 ----
int
! olsr_printf(int, const char *, ...) __attribute__((format(printf,2,3)));
#endif
Index: log.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/log.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** log.h 20 Apr 2007 13:46:04 -0000 1.6
--- log.h 16 Nov 2007 19:12:55 -0000 1.7
***************
*** 1,5 ****
/*
* The olsr.org Optimized Link-State Routing daemon(olsrd)
! * Copyright (c) 2004, Andreas Tønnesen((spam-protected))
* All rights reserved.
*
--- 1,5 ----
/*
* The olsr.org Optimized Link-State Routing daemon(olsrd)
! * Copyright (c) 2004, Andreas Tønnesen((spam-protected))
* All rights reserved.
*
***************
*** 56,60 ****
void
! olsr_syslog(int level, char *format, ...) __attribute__((format(printf,2,3)));
--- 56,60 ----
void
! olsr_syslog(int level, const char *format, ...) __attribute__((format(printf,2,3)));
Index: olsr.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/olsr.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -C2 -d -r1.62 -r1.63
*** olsr.c 11 Nov 2007 22:56:34 -0000 1.62
--- olsr.c 16 Nov 2007 19:12:55 -0000 1.63
***************
*** 588,592 ****
int
! olsr_printf(int loglevel, char *format, ...)
{
if((loglevel <= olsr_cnf->debug_level) && debug_handle)
--- 588,592 ----
int
! olsr_printf(int loglevel, const char *format, ...)
{
if((loglevel <= olsr_cnf->debug_level) && debug_handle)
- Previous message: [Olsr-cvs] olsrd-current/lib/httpinfo/src admin_interface.h, 1.3, 1.4 olsrd_httpinfo.c, 1.86, 1.87
- Next message: [Olsr-cvs] olsrd-current/lib/tas/src glua.c, 1.4, 1.5 glua_ext.c, 1.3, 1.4 http.c, 1.7, 1.8 http.h, 1.3, 1.4 lib.c, 1.2, 1.3 lib.h, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Olsr-cvs
mailing list