On 08/11/2012 13:41, Jon TURNEY wrote: > XQuartz already conditionally renames main() as dix_main() so it can provide > it's own main(). This isn't ideal as it prevents libdix built this way from > being useful with any other DDX. > > So instead, always name that function dix_main(), and provide a stub main() > which just calls it where needed. > > Add a main() to XWin. > It's no longer neccessary to link XWin and XQuartz with libmain. > > Future work: prototype dix_main() somewhere, without it ending up in > sdksyms... > > Signed-off-by: Jon TURNEY <[email protected]> > --- > configure.ac | 2 +- > dix/Makefile.am | 3 ++- > dix/main.c | 6 +----- > dix/stubmain.c | 33 +++++++++++++++++++++++++++++++++ > hw/xwin/InitOutput.c | 6 ++++++ > hw/xwin/Makefile.am | 4 ++-- > 6 files changed, 45 insertions(+), 9 deletions(-) > create mode 100644 dix/stubmain.c
Ping? Could this patch be reviewed, please? _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
