summaryrefslogtreecommitdiff
path: root/usr.bin/mg/random.c
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2006-06-01 09:54:09 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2006-06-01 09:54:09 +0000
commit0650da8b2808113c6ed46b30b7cd63e087a5f191 (patch)
tree345bc08f41ebe5d5d9c850ee9d9d80e685dc7838 /usr.bin/mg/random.c
parent8ec7c59fe1d161856263ac9db0e2d4b100c1196e (diff)
Style. no practical change.
Diffstat (limited to 'usr.bin/mg/random.c')
-rw-r--r--usr.bin/mg/random.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/mg/random.c b/usr.bin/mg/random.c
index f48cb7426ea..94bef74bf31 100644
--- a/usr.bin/mg/random.c
+++ b/usr.bin/mg/random.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: random.c,v 1.18 2006/06/01 04:17:34 kjell Exp $ */
+/* $OpenBSD: random.c,v 1.19 2006/06/01 09:54:08 kjell Exp $ */
/* This file is in the public domain. */
@@ -125,18 +125,18 @@ twiddle(int f, int n)
if (doto == llength(dotp)) {
if (--doto <= 0)
return (FALSE);
- backchar(f, 1);
+ (void)backchar(FFRAND, 1);
fudge = TRUE;
} else {
if (doto == 0)
return (FALSE);
}
cr = lgetc(dotp, doto - 1);
- backdel(f, 1);
- forwchar(f, 1);
+ (void)backdel(FFRAND, 1);
+ (void)forwchar(FFRAND, 1);
linsert(1, cr);
if (fudge != TRUE)
- backchar(f, 1);
+ (void)backchar(FFRAND, 1);
undo_no_boundary(FALSE);
undo_add_boundary();
lchange(WFEDIT);