* exec/totemconfig.c: eliminate 8 const-related warnings

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1932 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Jim Meyering 2009-03-30 21:11:46 +00:00
parent 39001fd1f6
commit 88a407f40a

View File

@ -332,7 +332,7 @@ int totem_config_validate (
{
static char local_error_reason[512];
char parse_error[512];
char *error_reason = local_error_reason;
const char *error_reason = local_error_reason;
int i;
unsigned int interface_max = INTERFACE_MAX;
@ -669,7 +669,7 @@ int totem_config_keyread (
/* In desperation we read the default filename */
if (!got_key) {
char *filename = getenv("COROSYNC_TOTEM_AUTHKEY_FILE");
const char *filename = getenv("COROSYNC_TOTEM_AUTHKEY_FILE");
if (!filename)
filename = SYSCONFDIR "/ais/authkey";
res = read_keyfile(filename, totem_config, error_string);