~ubuntu-branches/ubuntu/natty/libxi/natty-201011191114

« back to all changes in this revision

Viewing changes to src/XGetDCtl.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2009-11-21 18:39:28 UTC
  • mfrom: (1.1.10 upstream) (0.1.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20091121183928-ek2jwqx3rmhv3zjz
Tags: 2:1.3-1
* Bump Standards-Version to 3.8.3.
* Add build-deps on xmlto and asciidoc to build the manpages.
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Xorg: XGetDCtl.c,v 1.4 2001/02/09 02:03:50 xorgcvs Exp $ */
2
 
 
3
1
/************************************************************
4
2
 
5
3
Copyright 1989, 1998  The Open Group
45
43
SOFTWARE.
46
44
 
47
45
********************************************************/
48
 
/* $XFree86: xc/lib/Xi/XGetDCtl.c,v 3.3 2001/12/14 19:55:13 dawes Exp $ */
49
46
 
50
47
/***********************************************************************
51
48
 *
62
59
#include "XIint.h"
63
60
 
64
61
XDeviceControl *
65
 
XGetDeviceControl(dpy, dev, control)
66
 
    register Display *dpy;
67
 
    XDevice *dev;
68
 
    int control;
 
62
XGetDeviceControl(
 
63
    register Display    *dpy,
 
64
    XDevice             *dev,
 
65
    int                  control)
69
66
{
70
67
    int size = 0;
71
68
    int nbytes, i;
240
237
}
241
238
 
242
239
void
243
 
XFreeDeviceControl(control)
244
 
    XDeviceControl *control;
 
240
XFreeDeviceControl(XDeviceControl *control)
245
241
{
246
242
    XFree(control);
247
243
}