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:
parent
5ff34b5a0b
commit
b421ac8e02
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user