diff options
Diffstat (limited to 'xc/programs/Xserver/lbx/lbxdix.c')
-rw-r--r-- | xc/programs/Xserver/lbx/lbxdix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xc/programs/Xserver/lbx/lbxdix.c b/xc/programs/Xserver/lbx/lbxdix.c index a59959664..c22fe00ea 100644 --- a/xc/programs/Xserver/lbx/lbxdix.c +++ b/xc/programs/Xserver/lbx/lbxdix.c @@ -42,7 +42,7 @@ in this Software without prior written authorization from The Open Group. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * */ -/* $XFree86: xc/programs/Xserver/lbx/lbxdix.c,v 1.5 2001/01/17 22:36:59 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/lbx/lbxdix.c,v 1.6 2001/05/15 10:19:43 eich Exp $ */ /* various bits of DIX-level mangling */ @@ -72,8 +72,8 @@ in this Software without prior written authorization from The Open Group. #ifdef XAPPGROUP #include "Xagsrv.h" #endif +#include "swaprep.h" -extern ReplySwapPtr CopySwap32Write; extern int (*ProcVector[256]) (ClientPtr); extern int (*SwappedProcVector[256]) (ClientPtr); @@ -312,7 +312,7 @@ LbxGetKeyboardMapping(ClientPtr client) WriteToClient(client, sizeof(xLbxGetKeyboardMappingReply), (char *)&rep); if (send_data) { - client->pSwapReplyFunc = CopySwap32Write; + client->pSwapReplyFunc = (ReplySwapPtr)CopySwap32Write; WriteSwappedDataToClient(client, curKeySyms->mapWidth * stuff->count * sizeof(KeySym), &curKeySyms->map[(stuff->firstKeyCode - curKeySyms->minKeyCode) * |