summaryrefslogtreecommitdiff
path: root/include/xyzModem.h
diff options
context:
space:
mode:
authorAlexandru Gagniuc <alex.g@adaptrum.com>2017-04-04 10:42:30 -0700
committerTom Rini <trini@konsulko.com>2017-04-08 09:26:54 -0400
commit306b236bc1e426ff58ea8ddba1c6ad10327de6ff (patch)
tree01fe1245aad163f692e6153a7016a15709b8f1ee /include/xyzModem.h
parent0dcf18c69ddcc2a462cd556097d479646c5836ea (diff)
common/xyzModem.c: unifdef (Remove useless #ifdefs)
Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com>
Diffstat (limited to 'include/xyzModem.h')
-rw-r--r--include/xyzModem.h7
1 files changed, 0 insertions, 7 deletions
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);