projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change the int type identification
[bertos.git]
/
bertos
/
net
/
xmodem.h
diff --git
a/bertos/net/xmodem.h
b/bertos/net/xmodem.h
index e8a66f0c0f082c667be5ad6c57a9f21abd23ed97..897a7bc08d9fb656875316fb7bcfb4cd5c756a84 100644
(file)
--- a/
bertos/net/xmodem.h
+++ b/
bertos/net/xmodem.h
@@
-64,11
+64,7
@@
#define XMODEM_PROGRESS(msg, ...) kprintf(msg, ## __VA_ARGS__)
#endif
#define XMODEM_PROGRESS(msg, ...) kprintf(msg, ## __VA_ARGS__)
#endif
-
-/* fwd decl */
-struct Serial;
-
-bool xmodem_recv(struct Serial *port, KFile *fd);
-bool xmodem_send(struct Serial *port, KFile *fd);
+bool xmodem_recv(KFile *ch, KFile *fd);
+bool xmodem_send(KFile *ch, KFile *fd);
#endif /* NET_XMODEM_H */
#endif /* NET_XMODEM_H */