diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2013-09-26 20:11:40 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-03-23 18:18:56 +0000 |
commit | b421ac8e026f464fdba2082aaedc00c19fb8b6c7 (patch) | |
tree | 87b1389dbe9d627377c8d76dbb7b827431c4c760 /mi | |
parent | 5ff34b5a0b3b333bf0f0334717cc8630cc785510 (diff) |
miinitext: constify staticExtensions
The array is readonly and should not be tampered with.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'mi')
-rw-r--r-- | mi/miinitext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/miinitext.c b/mi/miinitext.c index 099ac42a7..ce2e4bcd4 100644 --- a/mi/miinitext.c +++ b/mi/miinitext.c @@ -234,7 +234,7 @@ EnableDisableExtensionError(const char *name, Bool enable) } /* List of built-in (statically linked) extensions */ -static ExtensionModule staticExtensions[] = { +static const ExtensionModule staticExtensions[] = { {GEExtensionInit, "Generic Event Extension", &noGEExtension}, {ShapeExtensionInit, "SHAPE", NULL}, #ifdef MITSHM |