From 306b236bc1e426ff58ea8ddba1c6ad10327de6ff Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Tue, 4 Apr 2017 10:42:30 -0700 Subject: common/xyzModem.c: unifdef (Remove useless #ifdefs) Signed-off-by: Alexandru Gagniuc --- include/xyzModem.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include') diff --git a/include/xyzModem.h b/include/xyzModem.h index 0eddbbc78f..4b667f7ba7 100644 --- a/include/xyzModem.h +++ b/include/xyzModem.h @@ -44,9 +44,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 +57,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); -- cgit