diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2005-03-07 23:02:59 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2005-03-07 23:02:59 +0000 |
commit | 8d0e520721ab7697d2d4f639425499b79c61b43f (patch) | |
tree | ec2e9adae765ac635092eec69b22209dc6bb214d /dix/privates.c | |
parent | cb0aa2b4d8875f1ea66e720ca7c6cc2f403be26a (diff) |
xc/programs/Xserver/dix/atom.c
xc/programs/Xserver/dix/colormap.c
xc/programs/Xserver/dix/cursor.c
xc/programs/Xserver/dix/devices.c
xc/programs/Xserver/dix/dispatch.c
xc/programs/Xserver/dix/dixfonts.c
xc/programs/Xserver/dix/dixutils.c
xc/programs/Xserver/dix/events.c
xc/programs/Xserver/dix/extension.c
xc/programs/Xserver/dix/gc.c
xc/programs/Xserver/dix/glyphcurs.c
xc/programs/Xserver/dix/grabs.c
xc/programs/Xserver/dix/main.c
xc/programs/Xserver/dix/pixmap.c
xc/programs/Xserver/dix/privates.c
xc/programs/Xserver/dix/property.c
xc/programs/Xserver/dix/resource.c
xc/programs/Xserver/dix/swaprep.c
xc/programs/Xserver/dix/swapreq.c
//bugs.freedesktop.org/show_bug.cgi?id=2560) attachment #2037
(https://bugs.freedesktop.org/attachment.cgi?id=2037) ANSI-fy
Xserver/dix code. The conversion preserves the comments which annotate
variables. These have been moved into doxygen(esque?) "stubs" above
each function. Patch by Mike Owens <etc@filespanker.com>.
Diffstat (limited to 'dix/privates.c')
-rw-r--r-- | dix/privates.c | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/dix/privates.c b/dix/privates.c index 672738f29..ffc046a0b 100644 --- a/dix/privates.c +++ b/dix/privates.c @@ -73,9 +73,7 @@ AllocateClientPrivateIndex() } Bool -AllocateClientPrivate(index2, amount) - int index2; - unsigned amount; +AllocateClientPrivate(int index2, unsigned amount) { unsigned oldamount; @@ -166,10 +164,7 @@ AllocateWindowPrivateIndex() } Bool -AllocateWindowPrivate(pScreen, index2, amount) - register ScreenPtr pScreen; - int index2; - unsigned amount; +AllocateWindowPrivate(register ScreenPtr pScreen, int index2, unsigned amount) { unsigned oldamount; @@ -219,10 +214,7 @@ AllocateGCPrivateIndex() } Bool -AllocateGCPrivate(pScreen, index2, amount) - register ScreenPtr pScreen; - int index2; - unsigned amount; +AllocateGCPrivate(register ScreenPtr pScreen, int index2, unsigned amount) { unsigned oldamount; @@ -272,10 +264,7 @@ AllocatePixmapPrivateIndex() } Bool -AllocatePixmapPrivate(pScreen, index2, amount) - register ScreenPtr pScreen; - int index2; - unsigned amount; +AllocatePixmapPrivate(register ScreenPtr pScreen, int index2, unsigned amount) { unsigned oldamount; @@ -322,10 +311,7 @@ ResetColormapPrivates() int -AllocateColormapPrivateIndex (initPrivFunc) - -InitCmapPrivFunc initPrivFunc; - +AllocateColormapPrivateIndex (InitCmapPrivFunc initPrivFunc) { int index; int i; |