From 6dd906059a2eaaefae9a2188ba992f00776f35e8 Mon Sep 17 00:00:00 2001 From: "alexis.lagoutte@gmail.com" Date: Fri, 25 Mar 2016 14:18:25 +0000 Subject: [PATCH 1/2] Fix implicit declaration of function 'stravltree_add' is invalid in C99 FossilOrigin-Name: ec0f5d111a2bef79d38c1906c2605ce27a1d7c3f39d227c7e6869c2ce020ec0a --- src/cw/cw_in_vendor_specific_payload.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cw/cw_in_vendor_specific_payload.c b/src/cw/cw_in_vendor_specific_payload.c index 79b3a353..2d6c5fbc 100644 --- a/src/cw/cw_in_vendor_specific_payload.c +++ b/src/cw/cw_in_vendor_specific_payload.c @@ -2,6 +2,7 @@ #include "cw.h" #include "dbg.h" #include "log.h" +#include "stravltree.h" /** * @file From 3636d101aa519eb08952a078c71fcf0faea9efdd Mon Sep 17 00:00:00 2001 From: "alexis.lagoutte@gmail.com" Date: Fri, 25 Mar 2016 14:49:29 +0000 Subject: [PATCH 2/2] Fix unused function 'do_save' [-Wunused-function] FossilOrigin-Name: 6286c186f2d2c903286855c844bc9de084e278088458029ec32ac7d51c8cfa6d --- src/cw/cw_in_generic2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cw/cw_in_generic2.c b/src/cw/cw_in_generic2.c index 766ded6d..ee45384b 100644 --- a/src/cw/cw_in_generic2.c +++ b/src/cw/cw_in_generic2.c @@ -29,6 +29,7 @@ int static check_len(struct conn *conn, struct cw_action_in *a, uint8_t * data, } */ +#if 0 int static do_save(mbag_t itemstore, struct conn *conn, struct cw_action_in *a, uint8_t * data, int len, struct sockaddr *from) { @@ -92,6 +93,7 @@ int static do_save(mbag_t itemstore, struct conn *conn, struct cw_action_in *a, } +#endif int cw_in_generic2(struct conn *conn, struct cw_action_in *a, uint8_t * data, int len, struct sockaddr *from)