summaryrefslogtreecommitdiff
path: root/openbox/plugin.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-21 20:25:34 +0000
committerDana Jansens <danakj@orodu.net>2003-03-21 20:25:34 +0000
commit0a69cfc6d2cf672634e95d5eb2015434dd924abc (patch)
treeef28312c548d2df4aa44b3e4cd29490427234767 /openbox/plugin.c
parentb10548f0ddf7ac9deb85372332686c6d8651a1f6 (diff)
add strict ansi compliance
Diffstat (limited to 'openbox/plugin.c')
-rw-r--r--openbox/plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/plugin.c b/openbox/plugin.c
index 247d490a..a8556fc7 100644
--- a/openbox/plugin.c
+++ b/openbox/plugin.c
@@ -46,8 +46,8 @@ static Plugin *plugin_new(char *name)
return NULL;
}
- p->startup = load_sym(p->module, name, "plugin_startup");
- p->shutdown = load_sym(p->module, name, "plugin_shutdown");
+ p->startup = (PluginStartup)load_sym(p->module, name, "plugin_startup");
+ p->shutdown = (PluginShutdown)load_sym(p->module, name, "plugin_shutdown");
if (p->startup == NULL || p->shutdown == NULL) {
g_module_close(p->module);