1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 16:50:58 +01:00

zsh-3.1.5-pws-4

This commit is contained in:
Tanaka Akira 1999-04-15 18:10:10 +00:00
parent 9003d99d16
commit 2a5a899a55
47 changed files with 1371 additions and 341 deletions

View file

@ -1,15 +1,35 @@
#include "zsh.mdh"
int setup_ _((Module));
int boot_ _((Module));
int cleanup_ _((Module));
int finish_ _((Module));
int modentry _((int boot, Module m));
/**/
int
modentry(int boot, Module m)
{
if (boot)
switch (boot) {
case 0:
return setup_(m);
break;
case 1:
return boot_(m);
else
break;
case 2:
return cleanup_(m);
break;
case 3:
return finish_(m);
break;
default:
zerr("bad call to modentry", NULL, 0);
return 1;
break;
}
}