endian.h missing?

Alan Coopersmith alan.coopersmith at sun.com
Thu Jan 25 18:55:22 PST 2007


Christoph Hellwig wrote:
> Shouldn't the X server also gain an equivalent to glxbyteorder.h?
> This would also help adding the needed annotations to allow sparse check
> for missing byte swaps as in the Linux kernel.

The X server's native byte swapping routines are in include/misc.h in
the Xserver tree, and are all written as portable macros, not using any
platform-specific headers/optimizations.

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering



More information about the xorg mailing list