diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-11-19 15:28:07 +1100 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2012-11-21 11:13:55 +1100 |
commit | db83830eef38a86a471378121213162da180537d (patch) | |
tree | 67f207389a86379590038f830813f6f573fc91dc /include/extension.h | |
parent | 6a6c3afe71ac82a93d9fd0034dd5bbdcf0eae1ea (diff) |
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>
Diffstat (limited to 'include/extension.h')
-rw-r--r-- | include/extension.h | 2 |
1 files changed, 1 insertions, 1 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 */ |