mirror of
https://github.com/zsh-users/zsh
synced 2024-07-21 18:24:18 +00:00
16 lines
212 B
C
16 lines
212 B
C
![]() |
#include "zsh.mdh"
|
||
|
|
||
|
int boot_ _((Module));
|
||
|
int cleanup_ _((Module));
|
||
|
int modentry _((int boot, Module m));
|
||
|
|
||
|
/**/
|
||
|
int
|
||
|
modentry(int boot, Module m)
|
||
|
{
|
||
|
if (boot)
|
||
|
return boot_(m);
|
||
|
else
|
||
|
return cleanup_(m);
|
||
|
}
|