summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-03-15 15:18:29 +0000
committerKeith Packard <keithp@keithp.com>2012-03-21 14:02:30 -0700
commitab3a815a75ab5695753fa37a98b0ea5293d4cb91 (patch)
treea8fd1cf44108245b42ba409944be962ac060098d /Xext
parent58b1f739d73b03ff7952ca986ed8746a7307fffe (diff)
Indentation: Change '& stuff' to '&stuff'
If the typedef wasn't perfect, indent would get confused and change: foo = (SomePointlessTypedef *) &stuff[1]; to: foo = (SomePointlessTypedef *) & stuff[1]; Fix this up with a really naïve sed script, plus some hand-editing to change some false positives in XKB back. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'Xext')
-rw-r--r--Xext/panoramiXprocs.c12
-rw-r--r--Xext/sync.c2
2 files changed, 7 insertions, 7 deletions
diff --git a/Xext/panoramiXprocs.c b/Xext/panoramiXprocs.c
index 7fb578b71..12d6163bb 100644
--- a/Xext/panoramiXprocs.c
+++ b/Xext/panoramiXprocs.c
@@ -1349,7 +1349,7 @@ PanoramiXPolyPoint(ClientPtr client)
int y_off = screenInfo.screens[j]->y;
if (x_off || y_off) {
- xPoint *pnts = (xPoint *) & stuff[1];
+ xPoint *pnts = (xPoint *) &stuff[1];
int i =
(stuff->coordMode == CoordModePrevious) ? 1 : npoint;
@@ -1414,7 +1414,7 @@ PanoramiXPolyLine(ClientPtr client)
int y_off = screenInfo.screens[j]->y;
if (x_off || y_off) {
- xPoint *pnts = (xPoint *) & stuff[1];
+ xPoint *pnts = (xPoint *) &stuff[1];
int i =
(stuff->coordMode == CoordModePrevious) ? 1 : npoint;
@@ -1483,7 +1483,7 @@ PanoramiXPolySegment(ClientPtr client)
int y_off = screenInfo.screens[j]->y;
if (x_off || y_off) {
- xSegment *segs = (xSegment *) & stuff[1];
+ xSegment *segs = (xSegment *) &stuff[1];
for (i = nsegs; i--; segs++) {
segs->x1 -= x_off;
@@ -1618,7 +1618,7 @@ PanoramiXPolyArc(ClientPtr client)
int y_off = screenInfo.screens[j]->y;
if (x_off || y_off) {
- xArc *arcs = (xArc *) & stuff[1];
+ xArc *arcs = (xArc *) &stuff[1];
for (i = narcs; i--; arcs++) {
arcs->x -= x_off;
@@ -1681,7 +1681,7 @@ PanoramiXFillPoly(ClientPtr client)
int y_off = screenInfo.screens[j]->y;
if (x_off || y_off) {
- DDXPointPtr pnts = (DDXPointPtr) & stuff[1];
+ DDXPointPtr pnts = (DDXPointPtr) &stuff[1];
int i = (stuff->coordMode == CoordModePrevious) ? 1 : count;
while (i--) {
@@ -1816,7 +1816,7 @@ PanoramiXPolyFillArc(ClientPtr client)
int y_off = screenInfo.screens[j]->y;
if (x_off || y_off) {
- xArc *arcs = (xArc *) & stuff[1];
+ xArc *arcs = (xArc *) &stuff[1];
for (i = narcs; i--; arcs++) {
arcs->x -= x_off;
diff --git a/Xext/sync.c b/Xext/sync.c
index d5d19d425..37c59c2be 100644
--- a/Xext/sync.c
+++ b/Xext/sync.c
@@ -1557,7 +1557,7 @@ ProcSyncAwait(ClientPtr client)
/* don't need to do any more memory allocation for this request! */
- pProtocolWaitConds = (xSyncWaitCondition *) & stuff[1];
+ pProtocolWaitConds = (xSyncWaitCondition *) &stuff[1];
pAwait = &(pAwaitUnion + 1)->await; /* skip over header */
for (i = 0; i < items; i++, pProtocolWaitConds++, pAwait++) {