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>
This commit is contained in:
Emil Velikov 2013-09-26 20:11:40 +01:00
parent 5ff34b5a0b
commit b421ac8e02

View File

@ -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