[RFC XI 2.1 - xserver 6/9] Make EventIsDeliverable non-static

Cyril Brulebois kibi at debian.org
Fri Nov 12 18:28:07 PST 2010


Chase Douglas <chase.douglas at canonical.com> (12/11/2010):
> --- a/dix/events.c
> +++ b/dix/events.c
[…]
> +extern WindowPtr XYToWindow(SpritePtr pSprite, int x, int y);
   ^^^^^^           ^^^^^^^^^^
       Collateral damage?

> +extern int EventIsDeliverable(DeviceIntPtr dev, InternalEvent* event,
> +                              WindowPtr win);
[…]

That breaks the build with:
|   CC     events.lo
| events.c:337: error: static declaration of ‘XYToWindow’ follows non-static declaration
| ../include/input.h:536: note: previous declaration of ‘XYToWindow’ was here

Removing the quoted line fixes it.

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101113/6509d258/attachment-0001.pgp>


More information about the xorg-devel mailing list