comparison packages/net/tcpip/current/tests/ftp_test.c @ 115:6ed91473a1cd ecos-sw-2000-08-21

Merge from eCos master repository on 2000-08-21-22:40:54-BST
author jlarmour
date Fri, 25 Aug 2000 17:32:38 +0000
parents 02ea4320376c
children 511f4dc167f6
comparison
equal deleted inserted replaced
114:5ad2b71d525e 115:6ed91473a1cd
52 // 52 //
53 //========================================================================== 53 //==========================================================================
54 // FTP test code 54 // FTP test code
55 55
56 #include <network.h> 56 #include <network.h>
57
58 #ifndef CYGPKG_LIBC_STDIO
59 #define perror(s) diag_printf(#s ": %s\n", strerror(errno))
60 #endif
57 61
58 #define STACK_SIZE (CYGNUM_HAL_STACK_SIZE_TYPICAL + 0x1000) 62 #define STACK_SIZE (CYGNUM_HAL_STACK_SIZE_TYPICAL + 0x1000)
59 static char stack[STACK_SIZE]; 63 static char stack[STACK_SIZE];
60 static cyg_thread thread_data; 64 static cyg_thread thread_data;
61 static cyg_handle_t thread_handle; 65 static cyg_handle_t thread_handle;