diff options
author | Max Kellermann <max@duempel.org> | 2008-10-09 19:11:51 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-10-11 19:21:50 -0700 |
commit | 1f70121c5604be45e81c5a07d59efea2aaa1597b (patch) | |
tree | f8f7ee98f35ebda35f7bcd6e1b052ce22ecc12d1 | |
parent | e553fa4d36016cd4ba2162a64d8a770bef618608 (diff) | |
download | mpd-1f70121c5604be45e81c5a07d59efea2aaa1597b.tar.gz mpd-1f70121c5604be45e81c5a07d59efea2aaa1597b.tar.xz mpd-1f70121c5604be45e81c5a07d59efea2aaa1597b.zip |
update: pass const pointer to addSubDirectoryToDirectory()
The stat struct isn't going to be modified, make it const.
-rw-r--r-- | src/update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c index e2afb7f81..49850256c 100644 --- a/src/update.c +++ b/src/update.c @@ -196,7 +196,7 @@ inodeFoundInParent(struct directory *parent, ino_t inode, dev_t device) static enum update_return addSubDirectoryToDirectory(struct directory *directory, - const char *name, struct stat *st) + const char *name, const struct stat *st) { struct directory *subDirectory; |