git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2276
fd59a12c-fef9-0310-b244-
a6a79926bd2f
int res;
void *quorum_iface_p;
+#ifdef COROSYNC_SOLARIS
+ logsys_subsys_init();
+#endif
corosync_api = api;
list_init (&lib_trackers_list);
list_init (&internal_trackers_list);
static int cfg_exec_init_fn (
struct corosync_api_v1 *corosync_api_v1)
{
+#ifdef COROSYNC_SOLARIS
+ logsys_subsys_init();
+#endif
+
api = corosync_api_v1;
list_init(&trackers_list);
static int confdb_exec_init_fn (
struct corosync_api_v1 *corosync_api)
{
+#ifdef COROSYNC_SOLARIS
+ logsys_subsys_init();
+#endif
api = corosync_api;
return 0;
}
static int cpg_exec_init_fn (struct corosync_api_v1 *corosync_api)
{
+#ifdef COROSYNC_SOLARIS
+ logsys_subsys_init();
+#endif
api = corosync_api;
return (0);
}
static int evs_exec_init_fn (
struct corosync_api_v1 *corosync_api)
{
+#ifdef COROSYNC_SOLARIS
+ logsys_subsys_init();
+#endif
+
api = corosync_api;
return 0;
static int pload_exec_init_fn (
struct corosync_api_v1 *corosync_api)
{
+#ifdef COROSYNC_SOLARIS
+ logsys_subsys_init();
+#endif
api = corosync_api;
return 0;
void corosync_lcr_component_register (void);
void corosync_lcr_component_register (void) {
+ logsys_subsys_init();
#else
__attribute__ ((constructor)) static void corosync_lcr_component_register (void) {
#endif
hdb_handle_t object_handle;
hdb_handle_t find_handle;
+#ifdef COROSYNC_SOLARIS
+ logsys_subsys_init();
+#endif
ENTER();
corosync_api = api;