• Robin Getz's avatar
    minor debug cleanups in ./net · 0ebf04c6
    Robin Getz authored
     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: default avatarRobin Getz <rgetz@blackfin.uclinux.org>
    Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
    0ebf04c6
sntp.c 1.62 KB