aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/record
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2016-10-29 11:28:02 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-12-04 21:11:41 +0100
commit508d2deae98846111299a3693033a507010e3c91 (patch)
treeee0d60bb4a9c500f6072891a7802fd06be15ce8a /nx-X11/programs/Xserver/record
parent62f8e50e7a5ddc6952a951edc37ee53c2a828675 (diff)
downloadnx-libs-508d2deae98846111299a3693033a507010e3c91.tar.gz
nx-libs-508d2deae98846111299a3693033a507010e3c91.tar.bz2
nx-libs-508d2deae98846111299a3693033a507010e3c91.zip
Remove libcwrapper usage from xorg server modules. The libcwrapper is not used in nxagent.
From c3d14036729fd186d4ec7ca1de603e1f2d174e2f Mon Sep 17 00:00:00 2001 From: Eric Anholt <anholt@freebsd.org> Date: Fri, 10 Feb 2006 22:00:30 +0000 Subject: Remove libcwrapper usage from xorg server modules. The libcwrapper is only of (marginal) use in the drivers, and that usage remains. Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fixes ArcticaProject/nx-libs#246 (together with merge commit ecd335fa61551d0b86d3f075469a7743ab899d95).
Diffstat (limited to 'nx-X11/programs/Xserver/record')
-rw-r--r--nx-X11/programs/Xserver/record/record.c4
-rw-r--r--nx-X11/programs/Xserver/record/set.c8
2 files changed, 2 insertions, 10 deletions
diff --git a/nx-X11/programs/Xserver/record/record.c b/nx-X11/programs/Xserver/record/record.c
index 33bdf56ec..eb9212f40 100644
--- a/nx-X11/programs/Xserver/record/record.c
+++ b/nx-X11/programs/Xserver/record/record.c
@@ -42,12 +42,8 @@ and Jim Haggerty of Metheus.
#include <nx-X11/extensions/recordstr.h>
#include "set.h"
-#ifndef XFree86LOADER
#include <stdio.h>
#include <assert.h>
-#else
-#include "xf86_ansic.h"
-#endif
#ifdef PANORAMIX
#include "globals.h"
diff --git a/nx-X11/programs/Xserver/record/set.c b/nx-X11/programs/Xserver/record/set.c
index 07d911c8c..1ea3fea4a 100644
--- a/nx-X11/programs/Xserver/record/set.c
+++ b/nx-X11/programs/Xserver/record/set.c
@@ -53,12 +53,13 @@ from The Open Group.
#include <dix-config.h>
#endif
+#include <string.h>
+
#ifndef TESTING
#include "misc.h"
#else
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
/* stuff that you normally get from the X Server's environment */
@@ -81,11 +82,6 @@ typedef unsigned short CARD16;
#include "set.h"
-#ifdef XFree86LOADER
-#include "xf86_libc.h"
-#include "xf86_ansic.h"
-#endif
-
static int
maxMemberInInterval(pIntervals, nIntervals)
RecordSetInterval *pIntervals;