From 4370dc11bd3a0bb14d21be7f581f59fa7fc1d888 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Fri, 15 Jul 2011 16:14:33 +0200 Subject: s3:afs make path argument to afs_syscall const --- source3/include/proto.h | 2 +- source3/lib/afs_settoken.c | 2 +- source3/modules/vfs_afsacl.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/include/proto.h b/source3/include/proto.h index 010992de48..ec0571c409 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 c83093ff45..77d9ace3d3 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 00bad5c364..8923c62b4c 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; -- cgit