]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:smbd: make fake_files[] static const
authorStefan Metzmacher <metze@samba.org>
Thu, 8 Jan 2009 07:38:01 +0000 (08:38 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 8 Jan 2009 11:22:17 +0000 (12:22 +0100)
metze

source3/smbd/fake_file.c

index 7feedcc9f9c8fa235a6a710d3d4613a983f28cba..ef54398bc451338768b83a9436ed6106305a8b21 100644 (file)
@@ -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 */