SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
ENDFOREACH(flag)
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror -fvisibility=hidden")
SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
IF("${ARCH}" STREQUAL "arm")
ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
ADD_DEFINITIONS("-DSLP_DEBUG")
-SET(CMAKE_EXE_LINKER_FLAGS "-fvisibility=hidden -Wl,--as-needed -Wl,--rpath=${LIB_INSTALL_DIR}")
+SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=${LIB_INSTALL_DIR}")
aux_source_directory(src SOURCES)
ADD_LIBRARY(${fw_name} SHARED ${SOURCES})
return RUNTIME_INFO_ERROR_NONE;
}
-int runtime_info_get_value_int(runtime_info_key_e key, int *value)
+API int runtime_info_get_value_int(runtime_info_key_e key, int *value)
{
int retcode;
runtime_info_value_u runtime_info_value;
return retcode;
}
-int runtime_info_get_value_bool(runtime_info_key_e key, bool *value)
+API int runtime_info_get_value_bool(runtime_info_key_e key, bool *value)
{
int retcode;
runtime_info_value_u runtime_info_value;
return retcode;
}
-int runtime_info_get_value_double(runtime_info_key_e key, double *value)
+API int runtime_info_get_value_double(runtime_info_key_e key, double *value)
{
int retcode;
runtime_info_value_u runtime_info_value;
return retcode;
}
-int runtime_info_get_value_string(runtime_info_key_e key, char **value)
+API int runtime_info_get_value_string(runtime_info_key_e key, char **value)
{
int retcode;
runtime_info_value_u runtime_info_value;
return retcode;
}
-int runtime_info_set_changed_cb(runtime_info_key_e key, runtime_info_changed_cb callback, void *user_data)
+API int runtime_info_set_changed_cb(runtime_info_key_e key, runtime_info_changed_cb callback, void *user_data)
{
runtime_info_item_h runtime_info_item;
runtime_info_func_set_event_cb set_event_cb;
return RUNTIME_INFO_ERROR_NONE;
}
-int runtime_info_unset_changed_cb(runtime_info_key_e key)
+API int runtime_info_unset_changed_cb(runtime_info_key_e key)
{
runtime_info_item_h runtime_info_item;
runtime_info_func_unset_event_cb unset_event_cb;