[PATCH libxkbcommon 03/11] Remove ancient compatibility check

Alan Coopersmith alan.coopersmith at oracle.com
Sat Feb 25 09:14:03 PST 2012


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>

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list