Constify argument to LoadExtension
Since we never modify it. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
6a6c3afe71
commit
db83830eef
|
@ -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 */
|
||||
|
|
|
@ -365,7 +365,7 @@ NewExtensionModule(void)
|
|||
}
|
||||
|
||||
void
|
||||
LoadExtension(ExtensionModule * e, Bool builtin)
|
||||
LoadExtension(const ExtensionModule * e, Bool builtin)
|
||||
{
|
||||
ExtensionModule *newext;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user