summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-08 08:38:01 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-08 12:22:17 +0100
commit33dd8e850b98deaaada160a811aa6f78a4a012b8 (patch)
tree3ba70c5e58b3d316f8bc6542d314c49df679eb53
parent7f2cf6b16635fcf7a4307dab4e6f6fed87ba2315 (diff)
downloadsamba-33dd8e850b98deaaada160a811aa6f78a4a012b8.tar.gz
samba-33dd8e850b98deaaada160a811aa6f78a4a012b8.tar.bz2
samba-33dd8e850b98deaaada160a811aa6f78a4a012b8.zip
s3:smbd: make fake_files[] static const
metze
-rw-r--r--source3/smbd/fake_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/fake_file.c b/source3/smbd/fake_file.c
index 7feedcc9f9..ef54398bc4 100644
--- a/source3/smbd/fake_file.c
+++ b/source3/smbd/fake_file.c
@@ -25,7 +25,7 @@ struct fake_file_type {
void *(*init_pd)(TALLOC_CTX *mem_ctx);
};
-static struct fake_file_type fake_files[] = {
+static const struct fake_file_type fake_files[] = {
#ifdef WITH_QUOTAS
{FAKE_FILE_NAME_QUOTA_UNIX, FAKE_FILE_TYPE_QUOTA, init_quota_handle},
#endif /* WITH_QUOTAS */