summaryrefslogtreecommitdiff
path: root/tools/ncb.c
AgeCommit message (Collapse)Author
2009-04-28ncb: Check return value of write()Peter Tyser
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>
2009-04-04Fix implicit declaration of function 'htons'Wolfgang Denk
Include <netinet/in.h> instead of <linux/in.h> to get htons() prototpye. Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-01-16ncb: use socklen_tMike Frysinger
The recvfrom() function takes a socklen_t, not an int. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2004-09-08* Patch by Detlev Zundel, 08 Sep 2004:wdenk
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