s3:afs make path argument to afs_syscall const
authorChristian Ambach <ambi@samba.org>
Fri, 15 Jul 2011 14:14:33 +0000 (16:14 +0200)
committerChristian Ambach <ambi@samba.org>
Thu, 21 Jul 2011 12:55:08 +0000 (14:55 +0200)
source3/include/proto.h
source3/lib/afs_settoken.c
source3/modules/vfs_afsacl.c

index 010992de48bdecc456513e6e835c1d79ee486f6f..ec0571c409283f2322a44375be434c66caea75a5 100644 (file)
@@ -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);
index c83093ff451fb6e3f6ab9a3e284c435f473c88c9..77d9ace3d3bf91a6ed59f739d1932c33cddba683 100644 (file)
@@ -35,7 +35,7 @@
 #include <sys/syscall.h>
 
 int afs_syscall( int subcall,
-         char * path,
+         const char * path,
          int cmd,
          char * cmarg,
          int follow)
index 00bad5c364ec2dced95ce8bd6a6c7879bc55f15b..8923c62b4c3cf06fe02108eddcb163fe272d2392 100644 (file)
@@ -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;