summaryrefslogtreecommitdiff
path: root/do_valgc.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-04-13 15:09:08 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-04-13 15:09:08 -0700
commit688bebb13c9a82983f544ff415440321a721fd53 (patch)
tree4f3c6fd7bf799cfbae74fc9a53ceca07c7a34fe3 /do_valgc.c
parent95ff3954dea7deb1cc995c09c404ebb22b6f18a0 (diff)
Strip trailing whitespace from source files
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'do_valgc.c')
-rw-r--r--do_valgc.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/do_valgc.c b/do_valgc.c
index 8edf764..b7394db 100644
--- a/do_valgc.c
+++ b/do_valgc.c
@@ -3,13 +3,13 @@ Copyright 1988, 1989 by Digital Equipment Corporation, Maynard, Massachusetts.
All Rights Reserved
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
+both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Digital not be
used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
+software without specific, written prior permission.
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
@@ -30,7 +30,7 @@ SOFTWARE.
static Window win[2];
-int
+int
InitGC(XParms xp, Parms p, int64_t reps)
{
win[0] = XCreateSimpleWindow(
@@ -41,7 +41,7 @@ InitGC(XParms xp, Parms p, int64_t reps)
return reps;
}
-void
+void
DoChangeGC(XParms xp, Parms p, int64_t reps)
{
XGCValues gcv;
@@ -49,24 +49,24 @@ DoChangeGC(XParms xp, Parms p, int64_t reps)
for (int i = 0; i != reps; i++) {
gcv.foreground = xp->foreground;
XChangeGC(xp->d, xp->fggc, GCForeground , &gcv);
- XDrawPoint(xp->d, win[0], xp->fggc, 5, 5);
+ XDrawPoint(xp->d, win[0], xp->fggc, 5, 5);
gcv.foreground = xp->background;
XChangeGC(xp->d, xp->fggc, GCForeground , &gcv);
- XDrawPoint(xp->d, win[1], xp->fggc, 5, 5);
+ XDrawPoint(xp->d, win[1], xp->fggc, 5, 5);
gcv.foreground = xp->background;
XChangeGC(xp->d, xp->fggc, GCForeground , &gcv);
- XDrawPoint(xp->d, win[0], xp->fggc, 5, 5);
+ XDrawPoint(xp->d, win[0], xp->fggc, 5, 5);
gcv.foreground = xp->foreground;
XChangeGC(xp->d, xp->fggc, GCForeground , &gcv);
- XDrawPoint(xp->d, win[1], xp->fggc, 5, 5);
+ XDrawPoint(xp->d, win[1], xp->fggc, 5, 5);
CheckAbort ();
}
}
-void
+void
EndGC(XParms xp, Parms p)
{
XDestroyWindow(xp->d, win[0]);