From 1f70121c5604be45e81c5a07d59efea2aaa1597b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 9 Oct 2008 19:11:51 +0200 Subject: update: pass const pointer to addSubDirectoryToDirectory() The stat struct isn't going to be modified, make it const. --- src/update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3