From b89e1b45198c48996750b5da3d715c10f974243f Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 30 Nov 2011 18:05:05 -0800 Subject: Finish conversion to standard C allocation functions Commit 4ac40cd5451 started this, by no longer special casing the xserver to include it's former custom allocation functions, this just takes the remaining #defines and pre-substitutes them into the code. Signed-off-by: Alan Coopersmith --- transport.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'transport.c') diff --git a/transport.c b/transport.c index c14057d..2cb8882 100644 --- a/transport.c +++ b/transport.c @@ -48,10 +48,6 @@ from The Open Group. */ #include -#define xalloc(_size) malloc(_size) -#define xcalloc(_num,_size) calloc(_num,_size) -#define xrealloc(_ptr,_size) realloc(_ptr,_size) -#define xfree(_ptr) free(_ptr) #define XTRANS_TRANSPORT_C /* used to flag Xtransint.h that it's being used here, not just #included in another file */ -- cgit v1.2.1