Replace prefix 'libsys' with 'syscommon' 65/296265/2
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 24 Jul 2023 11:58:24 +0000 (20:58 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 24 Jul 2023 12:25:51 +0000 (21:25 +0900)
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>
src/libdlog/container_warning.c

index 4c0a46f..8871aa9 100644 (file)
@@ -26,7 +26,7 @@
  *
  * 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;
@@ -44,7 +44,7 @@ static bool libsys_is_container()
 
 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