mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
common/xyzModem.c: unifdef (Remove useless #ifdefs)
Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com>
This commit is contained in:
committed by
Tom Rini
parent
0dcf18c69d
commit
306b236bc1
@@ -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);
|
||||
|
Reference in New Issue
Block a user