libaurum: add a missing header accepted/tizen/unified/20200401.132604 submit/tizen/20200331.015913
authorWonki Kim <wonki_.kim@samsung.com>
Wed, 25 Mar 2020 01:22:10 +0000 (10:22 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Wed, 25 Mar 2020 01:22:10 +0000 (10:22 +0900)
string.h is needed to use strdup

Change-Id: Icf6e14ea3a5425054c4c817ba72886ffb058c167

libaurum/inc/AccessibleUtils.h
libaurum/src/AccessibleUtils.cc

index 451ad416c6e30589d1e95165cab7272ad754b397..0a053c768404d139698ed3c6f55a0dc5d1ee936c 100644 (file)
@@ -37,6 +37,6 @@ unique_ptr_gobj<T> make_gobj_ref_unique(T *ptr)
     return unique_ptr_gobj<T>(ptr);
 }
 
-char *state_to_char(AtspiStateType state);
+charstate_to_char(AtspiStateType state);
 
 #endif
\ No newline at end of file
index 254116717442f2e32af1a363a0e6901516b8a7aa..1b548e554fb857c0fd1ff1748e7a0afa81be9495 100644 (file)
@@ -1,7 +1,8 @@
 #include "AccessibleUtils.h"
 #include "loguru.hpp"
+#include <string.h>
 
-char *state_to_char(AtspiStateType state)
+charstate_to_char(AtspiStateType state)
 {
    switch (state) {
    case ATSPI_STATE_INVALID:
@@ -99,7 +100,7 @@ char *state_to_char(AtspiStateType state)
    }
 }
 
-static void debug( AtspiStateSet *stateSet)
+static void _print_stateset_debug( AtspiStateSet *stateSet)
 {
    if (!stateSet) return;
    GArray *states = atspi_state_set_get_states(stateSet);