The libsyscommon prototype has changed to have prefix 'syscommon'.
Although this patch has no effect, followed the libsyscommon as it
is literally a function of the libsyscommon. This association would
help to address the workaround later.
Change-Id: I798ac2334b123255bdb5afc19208e1eba412b4ef
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
*
* Note that this technically also has the same race condition as initialize()
* in log.c, but that is left alone for simplicity. */
-static bool libsys_is_container()
+static bool syscommon_is_container(void)
{
static bool is_container = false;
static bool is_cached = false;
void prepend_container_tag_if_in_container(size_t buf_size, char buf[static buf_size], int *len)
{
- if (!libsys_is_container())
+ if (!syscommon_is_container())
return;
char container_label_buffer[sizeof CONTAINER_STR + 2 * 10]; // 10 == sizeof string INT_MAX as decimal