]> arthur.barton.de Git - netatalk.git/commitdiff
Remove const from path
authorRalph Boehme <sloowfranklin@gmail.com>
Wed, 2 Jan 2013 17:49:21 +0000 (18:49 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Wed, 2 Jan 2013 17:49:21 +0000 (18:49 +0100)
include/atalk/util.h
libatalk/util/unix.c

index e278872b3ed0668c582982c35dd7e950379b175e..08c373948a3f7a9a7e77e53fcf26fe0d1d4d1f47 100644 (file)
@@ -190,7 +190,7 @@ extern int ochdir(const char *dir, int options);
 extern int ostat(const char *path, struct stat *buf, int options);
 extern int ostatat(int dirfd, const char *path, struct stat *st, int options);
 extern int ochown(const char *path, uid_t owner, gid_t group, int options);
-extern int ochmod(const char *path, mode_t mode, const struct stat *st, int options);
+extern int ochmod(char *path, mode_t mode, const struct stat *st, int options);
 
 /******************************************************************
  * cnid.c
index a74ca80b49648d5464d34166ab81508674db9092..7c80e22d5d761085503fd990b05b63b38157a569 100644 (file)
@@ -263,7 +263,7 @@ int ochown(const char *path, uid_t owner, gid_t group, int options)
  * O_NOFOLLOW: don't chmod() symlinks, do nothing, return 0
  * O_NETATALK_ACL: call chmod_acl() instead of chmod()
  */
-int ochmod(const char *path, mode_t mode, const struct stat *st, int options)
+int ochmod(char *path, mode_t mode, const struct stat *st, int options)
 {
     struct stat sb;