From: Stefan Metzmacher Date: Thu, 8 Jan 2009 07:38:01 +0000 (+0100) Subject: s3:smbd: make fake_files[] static const X-Git-Tag: samba-4.0.0alpha6~221^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33dd8e850b98deaaada160a811aa6f78a4a012b8;p=thirdparty%2Fsamba.git s3:smbd: make fake_files[] static const metze --- diff --git a/source3/smbd/fake_file.c b/source3/smbd/fake_file.c index 7feedcc9f9c..ef54398bc45 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 */