xserver-multidpi/mi
Jeremy Huddleston 4c4df3ac0d input: Don't implicitly define verify_internal_event
Fixes regression introduced by 5690199802

mieq.c:159:5: error: implicit declaration of function 'verify_internal_event' is invalid in C99 [-Wimplicit-function-declaration,Semantic Issue]
    verify_internal_event(e);
    ^
1 error generated.

Also includes some other warning cleanups in events.c we're there.

events.c:2198:24: warning: equality comparison with extraneous parentheses [-Wparentheses,Semantic Issue]
        else if ((type == MotionNotify))
                  ~~~~~^~~~~~~~~~~~~~~
events.c:2198:24: note: remove extraneous parentheses around the comparison to silence this warning [Semantic Issue]
        else if ((type == MotionNotify))
                 ~     ^              ~
events.c:2198:24: note: use '=' to turn this equality comparison into an assignment [Semantic Issue]
        else if ((type == MotionNotify))
                       ^~
                       =
events.c:2487:5: error: implicit declaration of function 'verify_internal_event' is invalid in C99 [-Wimplicit-function-declaration,Semantic Issue]
    verify_internal_event(event);
    ^
events.c:5909:22: warning: declaration shadows a local variable [-Wshadow,Semantic Issue]
        DeviceIntPtr it = inputInfo.devices;
                     ^
events.c:5893:18: note: previous declaration is here
    DeviceIntPtr it = inputInfo.devices;
                 ^
3 warnings and 1 error generated.

events.c:2836:27: warning: incompatible pointer types passing 'DeviceEvent *' (aka 'struct _DeviceEvent *') to parameter of type
      'const InternalEvent *' (aka 'const union _InternalEvent *')
    verify_internal_event(ev);
                          ^~
../include/inpututils.h:40:56: note: passing argument to parameter 'ev' here
extern void verify_internal_event(const InternalEvent *ev);
                                                       ^
1 warning generated.

Found-by: yuffie tinderbox (-Werror=implicit)
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-05-24 14:08:13 +10:00
..
Makefile.am dix: Remove the backing store leftovers 2010-11-30 13:46:08 -05:00
mi.h mi: Remove unused miAllocateGCPrivateIndex 2010-11-30 13:46:09 -05:00
miarc.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
mibitblt.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
mibstore.c dix: Remove the backing store leftovers 2010-11-30 13:46:08 -05:00
mibstore.h dix: Remove the backing store leftovers 2010-11-30 13:46:08 -05:00
micmap.c mi: fix memory leak in miInitVisuals 2011-04-04 15:41:13 +03:00
micmap.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
micoord.h Unifdef sgi. 2008-07-23 13:37:42 -04:00
micopy.c Call SourceValidate even if src == dst 2011-01-05 11:56:42 -08:00
micursor.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
midash.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
midispcur.c xorg: remove unused pointer values all over the server 2011-04-04 15:41:13 +03:00
mieq.c input: Don't implicitly define verify_internal_event 2011-05-24 14:08:13 +10:00
miexpose.c Clean up after removal of screen parameters from region macros. 2010-06-05 22:07:21 -07:00
mifillarc.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
mifillarc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mifillrct.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
mifpoly.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mifpolycon.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
migc.c Clean up after removal of screen parameters from region macros. 2010-06-05 22:07:21 -07:00
migc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
miglblt.c miPolyGlyphBlt: Delete redundant ValidateGC. 2010-09-13 15:58:08 -07:00
miinitext.c NO_PANORAMIX preprocessor symbol is nowhere defined 2011-01-07 09:30:45 +10:00
miline.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
mioverlay.c Revert "mi: Remove unused overlay support" 2010-06-22 12:11:20 -07:00
mioverlay.h Revert "mi: Remove unused overlay support" 2010-06-22 12:11:20 -07:00
mipointer.c input: replace EventListPtr with InternalEvent array 2011-05-11 14:27:36 +10:00
mipointer.h Add mode field to pointer movement hooks. 2011-03-14 13:25:14 -04:00
mipointrst.h mi: remove static GenerateEvent variable. 2011-02-22 14:35:43 +10:00
mipoly.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipoly.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipolycon.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
mipolygen.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
mipolypnt.c Replace dixChangeGC with calls directly to the right variant. 2010-05-13 17:14:07 -07:00
mipolyrect.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
mipolyseg.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipolytext.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipolyutil.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
mipushpxl.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
miscanfill.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
miscrinit.c mi: Remove unused miAllocateGCPrivateIndex 2010-11-30 13:46:09 -05:00
mispans.c mi: fix memory leak in miFillUniqueSpanGroup 2011-04-04 15:41:13 +03:00
mispans.h Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
misprite.c mi/misprite: use memory management provided by dixRegisterPrivateKey 2011-03-14 14:01:01 -04:00
misprite.h mi: Delete unused flicker-free MoveCursor code. 2010-06-03 14:03:22 -07:00
mistruct.h Death to RCS tags. 2007-06-29 14:06:52 -04:00
mivalidate.h dix: Remove the backing store leftovers 2010-11-30 13:46:08 -05:00
mivaltree.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
miwideline.c mi: Integer overflow for dashed lines longer than 46340. #31093 2010-11-10 14:55:21 -08:00
miwideline.h Replace dixChangeGC with calls directly to the right variant. 2010-05-13 17:14:07 -07:00
miwindow.c mi: delete unused code 2010-09-10 21:49:29 +03:00
mizerarc.c Replace dixChangeGC with calls directly to the right variant. 2010-05-13 17:14:07 -07:00
mizerarc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mizerclip.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mizerline.c mi: fix memory leak in miZeroLine 2011-04-04 15:47:58 +03:00