michal-narajowski closed pull request #1349: sys/log/stub: Fix undefined 
reference error
URL: https://github.com/apache/mynewt-core/pull/1349
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/sys/log/stub/include/log/log.h b/sys/log/stub/include/log/log.h
index 1e89e3e571..62cf1af314 100644
--- a/sys/log/stub/include/log/log.h
+++ b/sys/log/stub/include/log/log.h
@@ -46,6 +46,20 @@ log_register(char *name, struct log *log, const struct 
log_handler *h,
     return 0;
 }
 
+static inline int
+log_append_typed(struct log *log, uint8_t module, uint8_t level, uint8_t etype,
+                 void *data, uint16_t len)
+{
+    return 0;
+}
+
+static inline int
+log_append_mbuf_typed_no_free(struct log *log, uint8_t module, uint8_t level,
+                              uint8_t etype, struct os_mbuf **om_ptr)
+{
+    return 0;
+}
+
 static inline void
 log_init(void)
 {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to