X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2FxyzModem.h;h=6fae63496105c2c58bd020437d63dc4f9e0d4ee4;hb=da8a77124191e603e8cdeb2aaa94fba94def9509;hp=0eddbbc78fd7f2d3aa82c35552460e8e49d1ccc1;hpb=8b485ba12b0defa0c4ed3559789250238f8331a8;p=oweals%2Fu-boot.git diff --git a/include/xyzModem.h b/include/xyzModem.h index 0eddbbc78f..6fae634961 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 @@ -44,9 +43,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 +56,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);