summaryrefslogtreecommitdiff
path: root/tools/ncb.c
Commit message (Collapse)AuthorAgeLines
* ncb: Check return value of write()Peter Tyser2009-04-28-1/+3
| | | | | | | | | | This prevents the compilation warning: ncb.c: In function 'main': ncb.c:32: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* Fix implicit declaration of function 'htons'Wolfgang Denk2009-04-04-1/+1
| | | | | | | Include <netinet/in.h> instead of <linux/in.h> to get htons() prototpye. Signed-off-by: Wolfgang Denk <wd@denx.de>
* ncb: use socklen_tMike Frysinger2009-01-16-1/+1
| | | | | | The recvfrom() function takes a socklen_t, not an int. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* * Patch by Detlev Zundel, 08 Sep 2004:wdenk2004-09-08-0/+36
Update etags build target * Improve NetConsole support: add support for broadcast destination address and buffered input. * Cleanup compiler warnings for GCC 3.3.x and later * Fix problem in cmd_jffs2.c introduced by CFG_JFFS_SINGLE_PART patch