diff options
author | Max Kellermann <max@duempel.org> | 2008-10-09 19:11:51 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-09 19:11:51 +0200 |
commit | 0677116da0d61097af44e5d84d763ccae450c077 (patch) | |
tree | 6ed7d32d4c8523595bfe3796b8d9d5bc9367bde6 /src/update.c | |
parent | 08c1322089819131e4dfb74e0a62ee1898993744 (diff) | |
download | mpd-0677116da0d61097af44e5d84d763ccae450c077.tar.gz mpd-0677116da0d61097af44e5d84d763ccae450c077.tar.xz mpd-0677116da0d61097af44e5d84d763ccae450c077.zip |
update: pass const pointer to addSubDirectoryToDirectory()
The stat struct isn't going to be modified, make it const.
Diffstat (limited to 'src/update.c')
-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 57b54c444..3e9d98453 100644 --- a/src/update.c +++ b/src/update.c @@ -205,7 +205,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; |