aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/os/utils.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-15 21:51:55 +0100
committerMihai Moldovan <ionic@ionic.de>2017-03-01 15:19:13 +0100
commit5c3776d251ec0fb9cddf1d0ac641754582dbc4d7 (patch)
tree4979d3ea2215db48361b7108d90a30f502a56885 /nx-X11/programs/Xserver/os/utils.c
parent29401f29b3e818a74eab7334046bbb37173edffc (diff)
downloadnx-libs-5c3776d251ec0fb9cddf1d0ac641754582dbc4d7.tar.gz
nx-libs-5c3776d251ec0fb9cddf1d0ac641754582dbc4d7.tar.bz2
nx-libs-5c3776d251ec0fb9cddf1d0ac641754582dbc4d7.zip
drop platform support: unifdef QNX.
Relates to ArcticaProject/nx-libs#275.
Diffstat (limited to 'nx-X11/programs/Xserver/os/utils.c')
-rw-r--r--nx-X11/programs/Xserver/os/utils.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/os/utils.c b/nx-X11/programs/Xserver/os/utils.c
index 540de2835..6e5482fc1 100644
--- a/nx-X11/programs/Xserver/os/utils.c
+++ b/nx-X11/programs/Xserver/os/utils.c
@@ -113,7 +113,7 @@ OR PERFORMANCE OF THIS SOFTWARE.
#ifndef WIN32
#include <sys/wait.h>
#endif
-#if !defined(SYSV) && !defined(WIN32) && !defined(QNX4)
+#if !defined(SYSV) && !defined(WIN32)
#include <sys/resource.h>
#endif
#include <time.h>
@@ -2007,9 +2007,6 @@ CheckUserParameters(int argc, char **argv, char **envp)
enum BadCode bad = NotBad;
int i = 0, j;
char *a, *e = NULL;
-#if defined(__QNX__) && !defined(__QNXNTO__)
- char cmd_name[64];
-#endif
#if CHECK_EUID
if (geteuid() == 0 && getuid() != geteuid())