[PATCH] os: remove INTERNAL_MALLOC define.
Peter Hutterer
peter.hutterer at who-t.net
Tue Feb 9 21:06:52 PST 2010
There doesn't seem to be anything that defines it and given that the
counterpart (the X internal malloc) was removed in
01cfba75229f4b9bf1e4fe80814931acdacde14c it's unlikely to work anyway.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
os/utils.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/os/utils.c b/os/utils.c
index d7c8388..951cb73 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -1036,8 +1036,6 @@ set_font_authorizations(char **authorizations, int *authlen, pointer client)
#endif /* TCPCONN */
}
-#ifndef INTERNAL_MALLOC
-
void *
Xalloc(unsigned long amount)
{
@@ -1153,7 +1151,6 @@ Xfree(pointer ptr)
if (ptr)
free(ptr);
}
-#endif /* !INTERNAL_MALLOC */
char *
--
1.6.6
More information about the xorg-devel
mailing list