summaryrefslogtreecommitdiff
path: root/transport.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-30 18:05:05 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-05 20:34:28 -0800
commitb89e1b45198c48996750b5da3d715c10f974243f (patch)
tree7091bd01c843ccaffbff8b06afe91dea4fd8986f /transport.c
parentff992be7b05483f9a0586a27ee0edb6d99580b84 (diff)
downloadxorg-lib-libxtrans-b89e1b45198c48996750b5da3d715c10f974243f.tar.gz
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 <alan.coopersmith@oracle.com>
Diffstat (limited to 'transport.c')
-rw-r--r--transport.c4
1 files changed, 0 insertions, 4 deletions
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 <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)
#define XTRANS_TRANSPORT_C /* used to flag Xtransint.h that it's being used
here, not just #included in another file */