1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/openwsn/patches/07-App_tcpecho_tcpecho.c.patch
2014-05-14 15:06:50 +02:00

65 lines
1.4 KiB
Diff

*** stock_iot-lab_M3/openwsn/07-App/tcpecho/tcpecho.c Thu Apr 24 11:01:37 2014
--- riot-openwsn-wip/openwsn/07-App/tcpecho/tcpecho.c Thu Apr 24 16:55:54 2014
***************
*** 10,19 ****
//=========================== public ==========================================
! void tcpecho_init() {
}
! bool tcpecho_shouldIlisten() {
return TRUE;
}
--- 10,19 ----
//=========================== public ==========================================
! void tcpecho_init(void) {
}
! bool tcpecho_shouldIlisten(void) {
return TRUE;
}
***************
*** 31,37 ****
}
}
! void tcpecho_sendDone(OpenQueueEntry_t* msg, error_t error) {
msg->owner = COMPONENT_TCPECHO;
if (msg->creator!=COMPONENT_TCPECHO) {
openserial_printError(COMPONENT_TCPECHO,ERR_UNEXPECTED_SENDDONE,
--- 31,37 ----
}
}
! void tcpecho_sendDone(OpenQueueEntry_t* msg, owerror_t error) {
msg->owner = COMPONENT_TCPECHO;
if (msg->creator!=COMPONENT_TCPECHO) {
openserial_printError(COMPONENT_TCPECHO,ERR_UNEXPECTED_SENDDONE,
***************
*** 43,52 ****
openqueue_freePacketBuffer(msg);
}
! void tcpecho_connectDone() {
}
! bool tcpecho_debugPrint() {
return FALSE;
}
--- 43,52 ----
openqueue_freePacketBuffer(msg);
}
! void tcpecho_connectDone(owerror_t error) {
}
! bool tcpecho_debugPrint(void) {
return FALSE;
}