about summary refs log tree commit diff
path: root/Src/module.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-06-19 20:21:52 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-06-19 20:21:52 +0000
commit84fa9b4af176bef34d558a0120a19a9922ee5a82 (patch)
treede5f40e63fc309d203936c9f734215ce0f38803f /Src/module.c
parent848775fe6db52f57a553c5ff201d6dbeef6ad828 (diff)
downloadzsh-84fa9b4af176bef34d558a0120a19a9922ee5a82.tar.gz
zsh-84fa9b4af176bef34d558a0120a19a9922ee5a82.tar.xz
zsh-84fa9b4af176bef34d558a0120a19a9922ee5a82.zip
23571 + unposted; AIX compilation fixes
Diffstat (limited to 'Src/module.c')
-rw-r--r--Src/module.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Src/module.c b/Src/module.c
index 05a0d402a..d40bb133a 100644
--- a/Src/module.c
+++ b/Src/module.c
@@ -1341,42 +1341,42 @@ module_loaded(const char *name)
 static int
 dyn_setup_module(Module m)
 {
-    return ((int (*)_((int,Module))) m->u.handle)(0, m, NULL);
+    return ((int (*)_((int,Module, void*))) m->u.handle)(0, m, NULL);
 }
 
 /**/
 static int
 dyn_features_module(Module m, char ***features)
 {
-    return ((int (*)_((int,Module))) m->u.handle)(4, m, features);
+    return ((int (*)_((int,Module, void*))) m->u.handle)(4, m, features);
 }
 
 /**/
 static int
 dyn_enables_module(Module m, int **enables)
 {
-    return ((int (*)_((int,Module))) m->u.handle)(5, m, enables);
+    return ((int (*)_((int,Module, void*))) m->u.handle)(5, m, enables);
 }
 
 /**/
 static int
 dyn_boot_module(Module m)
 {
-    return ((int (*)_((int,Module))) m->u.handle)(1, m, NULL);
+    return ((int (*)_((int,Module, void*))) m->u.handle)(1, m, NULL);
 }
 
 /**/
 static int
 dyn_cleanup_module(Module m)
 {
-    return ((int (*)_((int,Module))) m->u.handle)(2, m, NULL);
+    return ((int (*)_((int,Module, void*))) m->u.handle)(2, m, NULL);
 }
 
 /**/
 static int
 dyn_finish_module(Module m)
 {
-    return ((int (*)_((int,Module))) m->u.handle)(3, m, NULL);
+    return ((int (*)_((int,Module,void *))) m->u.handle)(3, m, NULL);
 }
 
 /**/