[PATCH 1/2] Turn deprecated allocation functions into inline ones

Mark Kettenis mark.kettenis at xs4all.nl
Tue May 18 12:10:19 PDT 2010


> From: Mikhail Gusarov <dottedmag at dottedmag.net>
> Date: Wed, 19 May 2010 02:01:18 +0700
> 
> This changes ABI of server as Xalloc/Xfree/Xrealloc/Xstrdup are
> no longer exported. OTOH, API is not changed.


> +static inline void*

You missed a space here.

> +xalloc(size_t size)
> +{
> +    return malloc(size);
> +}



More information about the xorg-devel mailing list