Remove qualifier warnings regarding totemrrp.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1802 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2009-03-10 09:25:43 +00:00
parent 3c3c11426e
commit 120ed48344

View File

@ -95,7 +95,7 @@ struct active_instance {
};
struct rrp_algo {
char *name;
const char *name;
void * (*initialize) (
struct totemrrp_instance *rrp_instance,
@ -196,9 +196,9 @@ struct totemrrp_instance {
int totemrrp_subsys_id;
void (*totemrrp_log_printf) (int subsys, char *function, char *file,
int line, unsigned int level, char *format,
...)__attribute__((format(printf, 6, 7)));
void (*totemrrp_log_printf) (int subsys, const char *function,
const char *file, int line, unsigned int level,
const char *format, ...)__attribute__((format(printf, 6, 7)));
hdb_handle_t handle;
@ -468,7 +468,7 @@ static struct hdb_handle_database totemrrp_instance_database = {
do { \
rrp_instance->totemrrp_log_printf ( \
rrp_instance->totemrrp_subsys_id, \
(char *)__FUNCTION__, __FILE__, __LINE__, level, \
__FUNCTION__, __FILE__, __LINE__, level, \
format, ##args); \
} while (0);