summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2011-07-15 16:14:33 +0200
committerChristian Ambach <ambi@samba.org>2011-07-21 14:55:08 +0200
commit4370dc11bd3a0bb14d21be7f581f59fa7fc1d888 (patch)
tree3356339a312bbabeddbbd0129274b6eaa83ce723
parentdcd10fa4e5bf3f687b5ef7be30ef0b24f1ae639e (diff)
downloadsamba-4370dc11bd3a0bb14d21be7f581f59fa7fc1d888.tar.gz
samba-4370dc11bd3a0bb14d21be7f581f59fa7fc1d888.tar.bz2
samba-4370dc11bd3a0bb14d21be7f581f59fa7fc1d888.zip
s3:afs make path argument to afs_syscall const
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/lib/afs_settoken.c2
-rw-r--r--source3/modules/vfs_afsacl.c2
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 <sys/syscall.h>
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;