diff options
author | Adam Jackson <ajax@redhat.com> | 2011-03-15 15:45:56 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-03-16 12:27:21 -0400 |
commit | 4ac40cd5451983e6f62527700cdf9e2f8a29c013 (patch) | |
tree | dcbac37a03e2320ef7e47a4028061cbb8d703556 | |
parent | 638caa2053330038c5ba5a5682ff02be6aa0faa6 (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.c | 5 |
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" |