[PATCH] os: remove unused typedef for "string"
Alan Coopersmith
alan.coopersmith at oracle.com
Wed Feb 5 15:22:03 PST 2014
On 02/ 5/14 02:05 PM, Peter Hutterer wrote:
> --- a/os/connection.c
> +++ b/os/connection.c
> @@ -117,7 +117,6 @@ SOFTWARE.
>
> #ifdef XSERVER_DTRACE
> #include <sys/types.h>
> -typedef const char *string;
Sorry, but we need it on Solaris at least, since the dix/Xserver-dtrace.h
generated by the dtrace command during the build refers to the string type.
We could wrap it in #ifdef __sun I guess, if that helps. (Apple seems to
already have #define for it in dix/Xserver.d, not sure if BSD needs it or
not.)
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list