On 02/25/12 09:14 AM, Alan Coopersmith wrote:
On 02/25/12 02:13 AM, Ran Benita wrote:
Other headers include malloc just fine.
Signed-off-by: Ran Benita<[email protected]>
---
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;
Reviewed-by: Alan Coopersmith <[email protected]>
BTW, that was purged from the libX11 copy in March 2009, so it may be worth
checking just how far out of sync libxkbcommon has gotten with the code it
was copied from and which everyone has been using in the meantime.
--
-Alan Coopersmith- [email protected]
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel