From aa6fbc2a3679896181610aee7ce2844d4322a5ce Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 6 Apr 2009 10:58:47 -0400 Subject: [PATCH] Remove some OS/2 leftovers. --- hw/xfree86/common/modeline2c.awk | 3 --- os/connection.c | 9 --------- 2 files changed, 12 deletions(-) diff --git a/hw/xfree86/common/modeline2c.awk b/hw/xfree86/common/modeline2c.awk index 71a956e05..038e7e935 100644 --- a/hw/xfree86/common/modeline2c.awk +++ b/hw/xfree86/common/modeline2c.awk @@ -56,9 +56,6 @@ BEGIN { print "#include " print "#endif" print "" - print "#ifdef __UNIXOS2__" - print "#define I_NEED_OS2_H" - print "#endif" print "#include \"xf86.h\"" print "#include \"xf86Config.h\"" print "#include \"xf86Priv.h\"" diff --git a/os/connection.c b/os/connection.c index a6270b38a..0c72b67eb 100644 --- a/os/connection.c +++ b/os/connection.c @@ -345,15 +345,6 @@ InitParentProcess(void) RunFromSmartParent = TRUE; OsSignal(SIGUSR1, handler); ParentProcess = getppid (); -#ifdef __UNIXOS2__ - /* - * fg030505: under OS/2, xinit is not the parent process but - * the "grant parent" process of the server because execvpe() - * presents us an additional process number; - * GetPPID(pid) is part of libemxfix - */ - ParentProcess = GetPPID (ParentProcess); -#endif /* __UNIXOS2__ */ #endif }