[PATCH] include: purge foo(int /*bar*/) function declarations.

Alan Coopersmith alan.coopersmith at oracle.com
Thu Jan 6 07:32:11 PST 2011


On 01/ 6/11 01:25 AM, Mark Kettenis wrote:
> extern void foo(int class);
> 
> which won't compile if you include the header file from C++.

The subset of these that Xorg exports to loadable modules like drivers
are already incompatible with C++ (note the lack of extern "C" {}
wrappers).

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



More information about the xorg-devel mailing list