mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
23571 + unposted; AIX compilation fixes
This commit is contained in:
parent
848775fe6d
commit
84fa9b4af1
3 changed files with 13 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-06-19 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||||
|
|
||||||
|
* unposted, c.f. 23572: Src/modentry.c: bad prototype.
|
||||||
|
|
||||||
|
* 23571: Src/module.c: AIX definitions weren't right.
|
||||||
|
|
||||||
2007-06-19 Clint Adams <clint@zsh.org>
|
2007-06-19 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
* 23569: Completion/Debian/Command/_bts: make 'bts show'
|
* 23569: Completion/Debian/Command/_bts: make 'bts show'
|
||||||
|
|
|
@ -4,7 +4,7 @@ int setup_ _((Module));
|
||||||
int boot_ _((Module));
|
int boot_ _((Module));
|
||||||
int cleanup_ _((Module));
|
int cleanup_ _((Module));
|
||||||
int finish_ _((Module));
|
int finish_ _((Module));
|
||||||
int modentry _((int boot, Module m));
|
int modentry _((int boot, Module m, void *ptr));
|
||||||
|
|
||||||
/**/
|
/**/
|
||||||
int
|
int
|
||||||
|
|
12
Src/module.c
12
Src/module.c
|
@ -1341,42 +1341,42 @@ module_loaded(const char *name)
|
||||||
static int
|
static int
|
||||||
dyn_setup_module(Module m)
|
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
|
static int
|
||||||
dyn_features_module(Module m, char ***features)
|
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
|
static int
|
||||||
dyn_enables_module(Module m, int **enables)
|
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
|
static int
|
||||||
dyn_boot_module(Module m)
|
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
|
static int
|
||||||
dyn_cleanup_module(Module m)
|
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
|
static int
|
||||||
dyn_finish_module(Module m)
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**/
|
/**/
|
||||||
|
|
Loading…
Reference in a new issue