[PATCH 06/11] Add X*asprintf() routines to mirror common asprintf() routines

Alan Coopersmith alan.coopersmith at oracle.com
Tue Nov 30 08:55:45 PST 2010


Rémi Cardona wrote:
> Le 30/11/2010 05:57, Alan Coopersmith a écrit :
>> +#ifdef HAVE_VASPRINTF
>> +# define Xvasprintf vasprintf
>> +#endif
> 
> No #else? Am I missing something?

else use the function we just defined before that.

Really it's just a forced inlining of the Xvasprintf -> vasprintf wrapper when
we can just call a libc implementation to save a level of function calling.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list