const-args-20060303

add const qualifiers to pr_Initialize and vl_Initialize args
This commit is contained in:
Jim Rees 2006-03-03 20:27:23 +00:00
parent 8a0016cabd
commit 3adadbb228
3 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ static afs_int32 lastLevel; /* security level pruclient, if any */
static char *whoami = "libprot";
afs_int32
pr_Initialize(IN afs_int32 secLevel, IN char *confDir, IN char *cell)
pr_Initialize(IN afs_int32 secLevel, IN const char *confDir, IN char *cell)
{
afs_int32 code;
struct rx_connection *serverconns[MAXSERVERS];

View File

@ -12,7 +12,7 @@
#include "afs/ptint.h"
afs_int32 pr_Initialize(afs_int32 secLevel, char *confDir, char *cell);
afs_int32 pr_Initialize(afs_int32 secLevel, const char *confDir, char *cell);
int pr_End(void);
int pr_CreateUser(char name[PR_MAXNAMELEN], afs_int32 *id);
int pr_CreateGroup(char name[PR_MAXNAMELEN], char owner[PR_MAXNAMELEN], afs_int32 *id);

View File

@ -1344,7 +1344,7 @@ struct rx_connection *serverconns[MAXSERVERS];
struct ubik_client *cstruct;
afs_int32
vl_Initialize(char *confDir)
vl_Initialize(const char *confDir)
{
afs_int32 code, scIndex = 0, i;
struct afsconf_dir *tdir;