[PATCH libxkbcommon 03/11] Remove ancient compatibility check

Alan Coopersmith alan.coopersmith at oracle.com
Sat Feb 25 09:24:06 PST 2012


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<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;
>>
>
> Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
>

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-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list