This is an automated email from the ASF dual-hosted git repository. ccollins pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push: new d1fc183 sys/log/stub: Add missing stubs d1fc183 is described below commit d1fc183c8efa0f9206944e88fbd38195598f757c Author: Christopher Collins <ccoll...@apache.org> AuthorDate: Fri Nov 2 17:02:15 2018 -0700 sys/log/stub: Add missing stubs --- sys/log/stub/include/log/log.h | 23 +++++++++++++++++++++++ sys/log/stub/include/log/log_fcb_slot1.h | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/sys/log/stub/include/log/log.h b/sys/log/stub/include/log/log.h index 6c87510..3cf7e22 100644 --- a/sys/log/stub/include/log/log.h +++ b/sys/log/stub/include/log/log.h @@ -71,6 +71,29 @@ log_append_mbuf_typed_no_free(struct log *log, uint8_t module, uint8_t level, return 0; } +static inline int +log_append_mbuf_typed(struct log *log, uint8_t module, uint8_t level, + uint8_t etype, struct os_mbuf *om) +{ + os_mbuf_free_chain(om); + return 0; +} + +static inline int +log_append_mbuf_body_no_free(struct log *log, uint8_t module, uint8_t level, + uint8_t etype, struct os_mbuf *om) +{ + return 0; +} + +static inline int +log_append_mbuf_body(struct log *log, uint8_t module, uint8_t level, + uint8_t etype, struct os_mbuf *om) +{ + os_mbuf_free_chain(om); + return 0; +} + static inline void log_init(void) { diff --git a/sys/log/stub/include/log/log_fcb_slot1.h b/sys/log/stub/include/log/log_fcb_slot1.h index b86bb2c..7f4cde6 100644 --- a/sys/log/stub/include/log/log_fcb_slot1.h +++ b/sys/log/stub/include/log/log_fcb_slot1.h @@ -25,7 +25,7 @@ #if MYNEWT_VAL(LOG_FCB_SLOT1) #include "log/log.h" -#include "fcb/fcb.h" +struct fcb_log; #ifdef __cplusplus extern "C" {