summary refs log tree commit diff
path: root/Src/modentry.c
blob: 63c4b825d5a263da800ba53e2df95bbac80d0eaf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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);
}