From f7bc5da583ce693b60b35f9f17eee6c109f200d5 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Wed, 2 Jan 2013 18:49:21 +0100 Subject: [PATCH] Remove const from path --- include/atalk/util.h | 2 +- libatalk/util/unix.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/atalk/util.h b/include/atalk/util.h index e278872b..08c37394 100644 --- a/include/atalk/util.h +++ b/include/atalk/util.h @@ -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 diff --git a/libatalk/util/unix.c b/libatalk/util/unix.c index a74ca80b..7c80e22d 100644 --- a/libatalk/util/unix.c +++ b/libatalk/util/unix.c @@ -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; -- 2.39.2