X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2FxyzModem.h;h=a8911b6bf5744a8eb88ff7c47b5d733e2720c739;hb=c05ed00afb95fa5237f16962fccf5810437317bf;hp=0eddbbc78fd7f2d3aa82c35552460e8e49d1ccc1;hpb=e85427fd66a21b39145a47e67871a8863c0e5591;p=oweals%2Fu-boot.git diff --git a/include/xyzModem.h b/include/xyzModem.h index 0eddbbc78f..a8911b6bf5 100644 --- a/include/xyzModem.h +++ b/include/xyzModem.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: eCos-2.0 */ /* *========================================================================== * @@ -6,8 +7,6 @@ * RedBoot stream handler for xyzModem protocol * *========================================================================== - * SPDX-License-Identifier: eCos-2.0 - *========================================================================== *#####DESCRIPTIONBEGIN#### * * Author(s): gthomas @@ -26,6 +25,8 @@ #ifndef _XYZMODEM_H_ #define _XYZMODEM_H_ +#include + #define xyzModem_xmodem 1 #define xyzModem_ymodem 2 /* Don't define this until the protocol support is in place */ @@ -44,9 +45,6 @@ #define xyzModem_abort 2 -#ifdef REDBOOT -extern getc_io_funcs_t xyzModem_io; -#else #define CYGNUM_CALL_IF_SET_COMM_ID_QUERY_CURRENT #define CYGACC_CALL_IF_SET_CONSOLE_COMM(x) @@ -60,12 +58,8 @@ typedef struct { char *filename; int mode; int chan; -#ifdef CYGPKG_REDBOOT_NETWORKING - struct sockaddr_in *server; -#endif } connection_info_t; -#endif int xyzModem_stream_open(connection_info_t *info, int *err);