-
- Downloads
minor debug cleanups in ./net
Minor ./net cleanups - no functional changes - change #ifdef DEBUG printf(); #endif to just debug() - changed __FUNCTION__ to __func__ - got rid of extra whitespace between function and opening brace - removed unnecessary braces on if statements gcc dead code elimination should make this functionally/size equivalent when DEBUG is not defined. (confirmed on Blackfin, with gcc 4.3.3). Signed-off-by:Robin Getz <rgetz@blackfin.uclinux.org> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
Showing
- net/Makefile 1 addition, 1 deletionnet/Makefile
- net/bootp.c 29 additions, 52 deletionsnet/bootp.c
- net/eth.c 4 additions, 4 deletionsnet/eth.c
- net/net.c 24 additions, 56 deletionsnet/net.c
- net/nfs.c 10 additions, 32 deletionsnet/nfs.c
- net/rarp.c 1 addition, 3 deletionsnet/rarp.c
- net/sntp.c 3 additions, 3 deletionsnet/sntp.c
- net/tftp.c 5 additions, 16 deletionsnet/tftp.c
Loading
Please register or sign in to comment