summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-09-25 20:43:08 -0400
committerSam Anthony <sam@samanthony.xyz>2024-09-25 20:43:08 -0400
commit0b62e7d4bd1cd5676c448c0878186958edd7a879 (patch)
tree67ca95ccb483aa61d24465aede27d9e925078df3
parenta47f328277109dba8ca35a018c8c5f5641366362 (diff)
downloadballs-0b62e7d4bd1cd5676c448c0878186958edd7a879.zip
reorder declarations
-rw-r--r--balls.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/balls.c b/balls.c
index 77efa2d..1fcb5df 100644
--- a/balls.c
+++ b/balls.c
@@ -286,12 +286,10 @@ mass(uint radius) {
void
ball(void *arg) {
BallArg *barg;
- Ball b;
- Image *fill, *erase;
+ Ball b, other;
Point oldpos;
- int i;
- Ball other;
- int t;
+ Image *fill, *erase;
+ int i, t;
barg = (BallArg *) arg;
b = (Ball) barg->b;