diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-08-06 21:08:09 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-08-06 21:08:09 +0000 |
commit | 8f4be4c9fc053e06d8170659c9bde356ada1a655 (patch) | |
tree | d116498a9604b21bf16d82850fcf1726939a4f6a /usr.bin | |
parent | 9293e104f0b834487ffef8344f12e9dc93c0abd0 (diff) |
Remove some double semicolons (hmm, do two semis equal a maxi?).
I've skipped the GNU stuff for now. From Patrick Latifi.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/awk/run.c | 4 | ||||
-rw-r--r-- | usr.bin/less/ch.c | 2 | ||||
-rw-r--r-- | usr.bin/rpcgen/rpc_svcout.c | 4 | ||||
-rw-r--r-- | usr.bin/xlint/lint1/mem1.c | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/awk/run.c b/usr.bin/awk/run.c index b36e7d01c9c..c3d5922bf5c 100644 --- a/usr.bin/awk/run.c +++ b/usr.bin/awk/run.c @@ -1,4 +1,4 @@ -/* $OpenBSD: run.c,v 1.22 2003/07/02 21:04:09 deraadt Exp $ */ +/* $OpenBSD: run.c,v 1.23 2003/08/06 21:08:07 millert Exp $ */ /**************************************************************** Copyright (C) Lucent Technologies 1997 All Rights Reserved @@ -1786,7 +1786,7 @@ Cell *sub(Node **a, int nnn) /* substitute command */ if (pb > buf + bufsz) FATAL("sub result2 %.30s too big; can't happen", buf); setsval(x, buf); /* BUG: should be able to avoid copy */ - result = True;; + result = True; } tempfree(x); tempfree(y); diff --git a/usr.bin/less/ch.c b/usr.bin/less/ch.c index ca54da967cf..0966dca9872 100644 --- a/usr.bin/less/ch.c +++ b/usr.bin/less/ch.c @@ -683,7 +683,7 @@ ch_delbufs() while (ch_bufhead != END_OF_CHAIN) { bp = ch_bufhead; - bp->next->prev = bp->prev;; + bp->next->prev = bp->prev; bp->prev->next = bp->next; free(bp); } diff --git a/usr.bin/rpcgen/rpc_svcout.c b/usr.bin/rpcgen/rpc_svcout.c index 04a343c1aaa..592e365a006 100644 --- a/usr.bin/rpcgen/rpc_svcout.c +++ b/usr.bin/rpcgen/rpc_svcout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rpc_svcout.c,v 1.19 2003/07/09 03:35:21 deraadt Exp $ */ +/* $OpenBSD: rpc_svcout.c,v 1.20 2003/08/06 21:08:07 millert Exp $ */ /* $NetBSD: rpc_svcout.c,v 1.7 1995/06/24 14:59:59 pk Exp $ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -842,7 +842,7 @@ write_rpc_svc_fg(infile, sp) else { fprintf(fout, "%si = open(\"/dev/tty\", 2);\n", sp); fprintf(fout, "%sif (i >= 0) {\n", sp); - fprintf(fout, "%s\t(void) ioctl(i, TIOCNOTTY, (char *)NULL);\n", sp);; + fprintf(fout, "%s\t(void) ioctl(i, TIOCNOTTY, (char *)NULL);\n", sp); fprintf(fout, "%s\t(void) close(i);\n", sp); fprintf(fout, "%s}\n", sp); } diff --git a/usr.bin/xlint/lint1/mem1.c b/usr.bin/xlint/lint1/mem1.c index e2f28521a63..ead2d875036 100644 --- a/usr.bin/xlint/lint1/mem1.c +++ b/usr.bin/xlint/lint1/mem1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mem1.c,v 1.4 2002/02/16 21:27:59 millert Exp $ */ +/* $OpenBSD: mem1.c,v 1.5 2003/08/06 21:08:08 millert Exp $ */ /* $NetBSD: mem1.c,v 1.2 1995/07/03 21:24:25 cgd Exp $ */ /* @@ -33,7 +33,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: mem1.c,v 1.4 2002/02/16 21:27:59 millert Exp $"; +static char rcsid[] = "$OpenBSD: mem1.c,v 1.5 2003/08/06 21:08:08 millert Exp $"; #endif #include <sys/types.h> @@ -216,7 +216,7 @@ xgetblk(mbp, s) frmblks = mb->nxt; } mb->ffree = mb->blk; - mb->nfree = mb->size;; + mb->nfree = mb->size; mb->nxt = *mbp; *mbp = mb; } |