From 7e6affcbf35760bcfdc1b26095e3a4850c44346c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 30 Mar 2009 21:13:39 +0000 Subject: [PATCH] votequorum.c (votequorum_qdisk_register): add "const" to avoid 1 more warnings git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1942 fd59a12c-fef9-0310-b244-a6a79926bd2f --- include/corosync/votequorum.h | 2 +- lib/votequorum.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/corosync/votequorum.h b/include/corosync/votequorum.h index bcb593d5..bc058087 100644 --- a/include/corosync/votequorum.h +++ b/include/corosync/votequorum.h @@ -154,7 +154,7 @@ cs_error_t votequorum_setvotes ( */ cs_error_t votequorum_qdisk_register ( votequorum_handle_t handle, - char *name, + const char *name, unsigned int votes); /* diff --git a/lib/votequorum.c b/lib/votequorum.c index bcc2cd8e..9922b31a 100644 --- a/lib/votequorum.c +++ b/lib/votequorum.c @@ -306,7 +306,7 @@ error_exit: cs_error_t votequorum_qdisk_register ( votequorum_handle_t handle, - char *name, + const char *name, unsigned int votes) { cs_error_t error;