[PATCH libxkbcommon 03/11] Remove ancient compatibility check

Ran Benita ran234 at gmail.com
Sat Feb 25 02:13:28 PST 2012


Other headers include malloc just fine.

Signed-off-by: Ran Benita <ran234 at gmail.com>
---
 makekeys/makekeys.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/makekeys/makekeys.c b/makekeys/makekeys.c
index c4142ec..21d70f5 100644
--- a/makekeys/makekeys.c
+++ b/makekeys/makekeys.c
@@ -33,9 +33,6 @@ from The Open Group.
 #include <X11/keysymdef.h>
 #include <stdio.h>
 #include <stdlib.h>
-#if defined(macII) && !defined(__STDC__)  /* stdlib.h fails to define these */
-char *malloc();
-#endif /* macII */
 
 typedef unsigned long Signature;
 
-- 
1.7.9.2



More information about the xorg-devel mailing list