mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
const-args-20060303
add const qualifiers to pr_Initialize and vl_Initialize args
This commit is contained in:
parent
8a0016cabd
commit
3adadbb228
@ -66,7 +66,7 @@ static afs_int32 lastLevel; /* security level pruclient, if any */
|
|||||||
static char *whoami = "libprot";
|
static char *whoami = "libprot";
|
||||||
|
|
||||||
afs_int32
|
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;
|
afs_int32 code;
|
||||||
struct rx_connection *serverconns[MAXSERVERS];
|
struct rx_connection *serverconns[MAXSERVERS];
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include "afs/ptint.h"
|
#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_End(void);
|
||||||
int pr_CreateUser(char name[PR_MAXNAMELEN], afs_int32 *id);
|
int pr_CreateUser(char name[PR_MAXNAMELEN], afs_int32 *id);
|
||||||
int pr_CreateGroup(char name[PR_MAXNAMELEN], char owner[PR_MAXNAMELEN], afs_int32 *id);
|
int pr_CreateGroup(char name[PR_MAXNAMELEN], char owner[PR_MAXNAMELEN], afs_int32 *id);
|
||||||
|
@ -1344,7 +1344,7 @@ struct rx_connection *serverconns[MAXSERVERS];
|
|||||||
struct ubik_client *cstruct;
|
struct ubik_client *cstruct;
|
||||||
|
|
||||||
afs_int32
|
afs_int32
|
||||||
vl_Initialize(char *confDir)
|
vl_Initialize(const char *confDir)
|
||||||
{
|
{
|
||||||
afs_int32 code, scIndex = 0, i;
|
afs_int32 code, scIndex = 0, i;
|
||||||
struct afsconf_dir *tdir;
|
struct afsconf_dir *tdir;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user