summaryrefslogtreecommitdiff
path: root/src/Alloc.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:49 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:49 +0000
commitbdc0667ef29e24b1a2188b11546d843a7d3e5ef6 (patch)
treee0a23167aca0fb1127f4cd78edf458b633b31eac /src/Alloc.c
parent6a13c9e08bb042c81ae904c44a38a50d785c824e (diff)
downloadxorg-lib-libXt-bdc0667ef29e24b1a2188b11546d843a7d3e5ef6.tar.gz
Diffstat (limited to 'src/Alloc.c')
-rw-r--r--src/Alloc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Alloc.c b/src/Alloc.c
index 16d922d..80fadfb 100644
--- a/src/Alloc.c
+++ b/src/Alloc.c
@@ -58,6 +58,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
+/* $XFree86: xc/lib/Xt/Alloc.c,v 1.9 2001/12/14 19:56:07 dawes Exp $ */
/*
* X Toolkit Memory Allocation Routines
@@ -66,13 +67,10 @@ in this Software without prior written authorization from The Open Group.
*/
#include "IntrinsicI.h"
+#include "InitialI.h"
#undef _XBCOPYFUNC
-#ifndef X_NOT_STDC_ENV
#include <stdlib.h>
-#else
-char *malloc(), *realloc(), *calloc();
-#endif
#define Xmalloc(size) malloc((size))
#define Xrealloc(ptr, size) realloc((ptr), (size))