summaryrefslogtreecommitdiff
path: root/tools/ncb.c
Commit message (Collapse)AuthorAgeFilesLines
* ncb: Check return value of write()Peter Tyser2009-04-281-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-041-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-161-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:LABEL_2004_09_09_0000wdenk2004-09-081-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