[Olsr-cvs] olsrd-current/src/bsd net.h,1.3,1.4
Bernd Petrovitsch
(spam-protected)
Fri Apr 20 15:46:07 CEST 2007
- Previous message: [Olsr-cvs] olsrd-current/src/unix ifnet.c,1.46,1.47
- Next message: [Olsr-cvs] olsrd-current/src/cfgparser Makefile, 1.22, 1.23 olsrd_conf.c, 1.51, 1.52 oparse.y, 1.31, 1.32 oscan.lex, 1.21, 1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/olsrd/olsrd-current/src/bsd
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30814/src/bsd
Modified Files:
net.h
Log Message:
cleanup, 1. step (to get some local changes away):
* killed lots of warnings
* added __attribure__((unused)) and __attribure__((format(printf, ..., ...)))
* added "const"
* moved declarations of static functions into .c files
* added "static" declarations
* removed all "inline" declarations. Usually the compiler knows better anyways.
* removed emtpy "return" statements at the end of functions
* localized declarations
* avoided unnecessary data copies
* removed lots of empty lines
There is much more to do.
Index: net.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/bsd/net.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** net.h 21 Nov 2004 10:50:52 -0000 1.3
--- net.h 20 Apr 2007 13:46:05 -0000 1.4
***************
*** 56,61 ****
#include "../olsr_protocol.h"
- extern int
- olsr_printf(int, char *, ...);
-
#endif
--- 56,58 ----
- Previous message: [Olsr-cvs] olsrd-current/src/unix ifnet.c,1.46,1.47
- Next message: [Olsr-cvs] olsrd-current/src/cfgparser Makefile, 1.22, 1.23 olsrd_conf.c, 1.51, 1.52 oparse.y, 1.31, 1.32 oscan.lex, 1.21, 1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Olsr-cvs
mailing list