summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/extension.h2
-rw-r--r--mi/miinitext.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/extension.h b/include/extension.h
index 0f55d9038..acc6addb7 100644
--- a/include/extension.h
+++ b/include/extension.h
@@ -97,6 +97,6 @@ extern _X_EXPORT void InitExtensions(int argc, char **argv);
extern _X_EXPORT void CloseDownExtensions(void);
-extern _X_EXPORT void LoadExtension(ExtensionModule *ext, Bool external);
+extern _X_EXPORT void LoadExtension(const ExtensionModule *ext, Bool external);
#endif /* EXTENSION_H */
diff --git a/mi/miinitext.c b/mi/miinitext.c
index d17544097..369da5ede 100644
--- a/mi/miinitext.c
+++ b/mi/miinitext.c
@@ -365,7 +365,7 @@ NewExtensionModule(void)
}
void
-LoadExtension(ExtensionModule * e, Bool builtin)
+LoadExtension(const ExtensionModule * e, Bool builtin)
{
ExtensionModule *newext;