aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/os/osinit.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2024-05-05 22:07:56 +0200
committerUlrich Sibiller <uli42@gmx.de>2024-05-11 18:56:27 +0200
commit4a680cf8c091828ee78a7a7a18daa7069df932b9 (patch)
treea1ecf8e6191cad61a731aa1730bade7dbf5b0625 /nx-X11/programs/Xserver/os/osinit.c
parented13175637aca5d7219ac4319cfe5fd8881dce52 (diff)
downloadnx-libs-4a680cf8c091828ee78a7a7a18daa7069df932b9.tar.gz
nx-libs-4a680cf8c091828ee78a7a7a18daa7069df932b9.tar.bz2
nx-libs-4a680cf8c091828ee78a7a7a18daa7069df932b9.zip
os: unifdef GPROF and X_NOT_POSIX
just like xorg-xserver in commit 446fe9eecddd1337f9d5164dd7c301e1ba3dfe32 Author: Daniel Stone <daniels@collabora.com> Date: Thu Jul 17 21:37:50 2008 +0300 Dead code removal Remove a whole bunch of code that was never built, be it entire files or just dead ifdefs.
Diffstat (limited to 'nx-X11/programs/Xserver/os/osinit.c')
-rw-r--r--nx-X11/programs/Xserver/os/osinit.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/nx-X11/programs/Xserver/os/osinit.c b/nx-X11/programs/Xserver/os/osinit.c
index 367635f6c..0313a8990 100644
--- a/nx-X11/programs/Xserver/os/osinit.c
+++ b/nx-X11/programs/Xserver/os/osinit.c
@@ -138,15 +138,8 @@ OsInit(void)
#endif
}
-#ifndef X_NOT_POSIX
if (getpgrp () == 0)
setpgid (0, 0);
-#else
-#if !defined(SYSV)
- if (getpgrp (0) == 0)
- setpgrp (0, getpid ());
-#endif
-#endif
#ifdef RLIMIT_DATA
if (limitDataSpace >= 0)