Просмотр исходного кода

Allow compilation of totempg without warnings

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Jan Friesse 14 лет назад
Родитель
Сommit
1711aea72f
2 измененных файлов с 1 добавлено и 2 удалено
  1. 0 2
      exec/totempg.c
  2. 1 0
      include/corosync/totem/totempg.h

+ 0 - 2
exec/totempg.c

@@ -253,8 +253,6 @@ struct totempg_group_instance {
 	struct list_head list;
 };
 
-DECLARE_HDB_DATABASE (totempg_groups_instance_database,NULL);
-
 static unsigned char next_fragment = 1;
 
 static pthread_mutex_t totempg_mutex = PTHREAD_MUTEX_INITIALIZER;

+ 1 - 0
include/corosync/totem/totempg.h

@@ -180,6 +180,7 @@ void totempg_check_q_level(void *instance);
 typedef void (*totem_queue_level_changed_fn) (enum totem_q_level level);
 extern void totempg_queue_level_register_callback (totem_queue_level_changed_fn);
 
+extern void totempg_threaded_mode_enable (void);
 
 #ifdef __cplusplus
 }