[PATCH] xymodem.c: fix compiler warning
Antony Pavlov
antonynpavlov at gmail.com
Sat Nov 24 10:28:46 EST 2012
Fixes:
lib/xymodem.c:558: warning: no previous prototype for ‘do_load_serial_xmodem’
lib/xymodem.c:572: warning: no previous prototype for ‘do_load_serial_ymodem’
lib/xymodem.c:586: warning: no previous prototype for ‘do_load_serial_ymodemg’
Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
lib/xymodem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/xymodem.c b/lib/xymodem.c
index 558f6e8..37202e6 100644
--- a/lib/xymodem.c
+++ b/lib/xymodem.c
@@ -31,7 +31,7 @@
#include <fs.h>
#include <kfifo.h>
#include <linux/byteorder/generic.h>
-
+#include <xymodem.h>
#define xy_dbg(fmt, args...)
--
1.7.10.4
More information about the barebox
mailing list