Un-const as necessary to silence compiler warnings

This commit is contained in:
Asanka C. Herath
2010-11-18 20:44:40 -05:00
parent d11917211b
commit 880d728e02
10 changed files with 17 additions and 16 deletions

View File

@@ -44,9 +44,9 @@ static int dest_tkt_flag = 1;
static int all_flag = 0;
struct getargs args[] = {
{ "credential", 0, arg_string, &credential,
{ "credential", 0, arg_string, rk_UNCONST(&credential),
"remove one credential", "principal" },
{ "cache", 'c', arg_string, &cache, "cache to destroy", "cache" },
{ "cache", 'c', arg_string, rk_UNCONST(&cache), "cache to destroy", "cache" },
{ "all", 'A', arg_flag, &all_flag, "destroy all caches" },
#ifndef NO_AFS
{ "unlog", 0, arg_negative_flag, &unlog_flag,