summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-03-15 15:45:56 -0400
committerAdam Jackson <ajax@redhat.com>2011-03-16 12:27:21 -0400
commit4ac40cd5451983e6f62527700cdf9e2f8a29c013 (patch)
treedcbac37a03e2320ef7e47a4028061cbb8d703556
parent638caa2053330038c5ba5a5682ff02be6aa0faa6 (diff)
Don't special-case allocation for the X server
xserver uses malloc/free directly now, don't route through the Xalloc wrappers. Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--transport.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/transport.c b/transport.c
index 5131d99..84a2915 100644
--- a/transport.c
+++ b/transport.c
@@ -47,16 +47,11 @@ from The Open Group.
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-
-#ifdef XSERV_t
-#include "os.h"
-#else
#include <stdlib.h>
#define xalloc(_size) malloc(_size)
#define xcalloc(_num,_size) calloc(_num,_size)
#define xrealloc(_ptr,_size) realloc(_ptr,_size)
#define xfree(_ptr) free(_ptr)
-#endif
#include "Xtransint.h"