Re: [PATCH 1/3] Allow compilation of totempg without warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/24/2011 05:33 AM, Jan Friesse wrote:
> Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
> ---
>  exec/totempg.c                   |    2 --
>  include/corosync/totem/totempg.h |    1 +
>  2 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/exec/totempg.c b/exec/totempg.c
> index 9e88104..651d39d 100644
> --- a/exec/totempg.c
> +++ b/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;
> diff --git a/include/corosync/totem/totempg.h b/include/corosync/totem/totempg.h
> index 9fda82e..bcc934b 100644
> --- a/include/corosync/totem/totempg.h
> +++ b/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
>  }

Reviewed-by: Steven Dake <sdake@xxxxxxxxxx>
_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux