dix: remove all but main() from main.c

All other functions are pushed into where they seemed to fit.
main.c is now linked separately into libmain.a and linked in by the various
DDXs.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2009-04-22 13:26:40 +10:00
commit 987579c930
11 changed files with 376 additions and 377 deletions

View file

@ -273,6 +273,12 @@ static struct {
static xEvent* swapEvent = NULL;
static int swapEventLen = 0;
void
NotImplemented(xEvent *from, xEvent *to)
{
FatalError("Not implemented");
}
/**
* Convert the given event type from an XI event to a core event.
* @param[in] The XI 1.x event type.