From: Christian Ambach Date: Fri, 15 Jul 2011 14:14:33 +0000 (+0200) Subject: s3:afs make path argument to afs_syscall const X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=4370dc11bd3a0bb14d21be7f581f59fa7fc1d888;p=rusty%2Fsamba.git s3:afs make path argument to afs_syscall const --- diff --git a/source3/include/proto.h b/source3/include/proto.h index 010992de48b..ec0571c4092 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -46,7 +46,7 @@ char *afs_createtoken_str(const char *username, const char *cell); /* The following definitions come from lib/afs_settoken.c */ int afs_syscall( int subcall, - char * path, + const char * path, int cmd, char * cmarg, int follow); diff --git a/source3/lib/afs_settoken.c b/source3/lib/afs_settoken.c index c83093ff451..77d9ace3d3b 100644 --- a/source3/lib/afs_settoken.c +++ b/source3/lib/afs_settoken.c @@ -35,7 +35,7 @@ #include int afs_syscall( int subcall, - char * path, + const char * path, int cmd, char * cmarg, int follow) diff --git a/source3/modules/vfs_afsacl.c b/source3/modules/vfs_afsacl.c index 00bad5c364e..8923c62b4c3 100644 --- a/source3/modules/vfs_afsacl.c +++ b/source3/modules/vfs_afsacl.c @@ -47,7 +47,7 @@ static char space_replacement = '%'; /* Do we expect SIDs as pts names? */ static bool sidpts; -extern int afs_syscall(int, char *, int, char *, int); +extern int afs_syscall(int, const char *, int, char *, int); struct afs_ace { bool positive;