From 1c47a7db2c7be2db534560aef162ff680820ba94 Mon Sep 17 00:00:00 2001 From: Vitaliy Cherepanov Date: Wed, 24 Jul 2013 20:42:30 +0400 Subject: [PATCH] [FIX] build fix - sendACKToHost function now is public --- daemon/da_protocol.c | 2 +- daemon/da_protocol.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/daemon/da_protocol.c b/daemon/da_protocol.c index 8dec2e0..14493dd 100644 --- a/daemon/da_protocol.c +++ b/daemon/da_protocol.c @@ -852,7 +852,7 @@ static int send_reply(struct msg_t *msg) return 0; } -static int sendACKToHost(enum HostMessageT resp, enum ErrorCode err_code, +int sendACKToHost(enum HostMessageT resp, enum ErrorCode err_code, char *payload, int payload_size) { if (manager.host.control_socket != -1) diff --git a/daemon/da_protocol.h b/daemon/da_protocol.h index 73039ea..786224e 100644 --- a/daemon/da_protocol.h +++ b/daemon/da_protocol.h @@ -327,4 +327,7 @@ extern struct prof_session_t prof_session; //debugs void print_replay_event( struct replay_event_t *ev, uint32_t num, char *tab); +int sendACKToHost(enum HostMessageT resp, enum ErrorCode err_code, + char *payload, int payload_size); + #endif /* _DA_PROTOCOL_ */ -- 2.7.4