summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-02-10 15:06:52 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-03-11 08:48:48 +1000
commitc39c8ece9bd3ce025549f4bac7794f5a62266f4a (patch)
treea24e26d4b1d119bf9a722750ce88d4c4efa15e82 /os
parent9f462ff9082634719e64d2d8d4dbd09ec7deaf2e (diff)
os: remove INTERNAL_MALLOC define.
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@who-t.net>
Diffstat (limited to 'os')
-rw-r--r--os/utils.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/os/utils.c b/os/utils.c
index 21e25e066..5a5a20374 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -1032,8 +1032,6 @@ set_font_authorizations(char **authorizations, int *authlen, pointer client)
#endif /* TCPCONN */
}
-#ifndef INTERNAL_MALLOC
-
void *
Xalloc(unsigned long amount)
{
@@ -1149,7 +1147,6 @@ Xfree(pointer ptr)
if (ptr)
free(ptr);
}
-#endif /* !INTERNAL_MALLOC */
char *